MCPcopy Create free account
hub / github.com/github/gh-aw / isFinalCSIChar

Function isFinalCSIChar

pkg/stringutil/ansi.go:108–110  ·  view source on GitHub ↗

isFinalCSIChar checks if a character is a valid CSI final character Final characters are in range 0x40-0x7E (@-~)

(b byte)

Source from the content-addressed store, hash-verified

106// isFinalCSIChar checks if a character is a valid CSI final character
107// Final characters are in range 0x40-0x7E (@-~)
108func isFinalCSIChar(b byte) bool {
109 return b >= 0x40 && b <= 0x7E
110}
111
112// isCSIParameterChar checks if a character is a valid CSI parameter or intermediate character
113// Parameter characters are in range 0x30-0x3F (0-?)

Callers 1

skipCSISequenceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected