Proper escape sequence intermediate handling #3122
Labels
contributor friendly
A well-scoped, approachable issue for someone looking to contributor.
vt
Control sequence related
Milestone
Many escape sequences ignore intermediate bytes. For example, Erase Characters (ECH)
CSI <n> X
doesn't have any intermediate bytes, and something likeCSI ? X
should be ignored. Instead, Ghostty treatCSI ? X
as if it wasCSI X
and erases a character at the current cursor position.Current output:
The cursor is at the 3rd column
Expected output (invalid sequence is ignored):
The cursor is at the 4th column
The text was updated successfully, but these errors were encountered: