tui/light: consume full 7-byte CSI sequences to prevent leftover printing (#4528)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
- Fix parsing in escSequence so 7-byte CSI forms (e.g. ESC [ 5 ; 10 ~) set *sz = 7 and the entire sequence is consumed. - Prevents trailing bytes (like 10~) from remaining in the input buffer and being printed as stray characters.
authored by Massimo Mund · committed by GitHub · parent ca29410 · Browse files · 1 file+3 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+3 added−0 removed
- other:+3 added−0 removed