mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-11-19 14:45:29 +00:00
Port the CSI tokenizer and SGR grouping logic from vt-parser.c and cursor.c so that empty parameters terminated by a semicolon are treated as zero everywhere, not only in extended colors. This fixes stale attributes being re-applied on wrapped lines for codes such as ;m, ;31m and 4:;31m. Also match kitty for codes with invalid characters or private/intermediate bytes (ignored entirely), misplaced sub-parameters, mixed colon/semicolon colors, out of range color indices, SGR 21 and clamped underline styles. Closes #10895 |
||
|---|---|---|
| .. | ||
| api.go | ||
| colorspaces.go | ||
| colorspaces_bench_test.go | ||
| colorspaces_test.go | ||
| indent-and-wrap.go | ||
| indent-and-wrap_test.go | ||
| wrapper.go | ||
| wrapper_test.go | ||