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 |
||
|---|---|---|
| .. | ||
| base85 | ||
| humanize | ||
| images | ||
| machine_id | ||
| paths | ||
| random | ||
| secrets | ||
| shlex | ||
| streaming_base64 | ||
| style | ||
| atexit.go | ||
| atomic-write.go | ||
| atomic-write_test.go | ||
| cache.go | ||
| cached_values.go | ||
| clock_with_raw.go | ||
| clock_without_raw.go | ||
| colors.go | ||
| download_file.go | ||
| embed.go | ||
| file_at_fd.go | ||
| file_at_fd_darwin.go | ||
| file_at_fd_dragonfly.go | ||
| file_at_fd_freebsd.go | ||
| file_at_fd_generic.go | ||
| file_at_fd_test.go | ||
| filelock.go | ||
| filelock_test.go | ||
| hostname.go | ||
| io.go | ||
| iso8601.go | ||
| iso8601_test.go | ||
| levenshtein.go | ||
| longest-common.go | ||
| longest-common_test.go | ||
| mime_cache.go | ||
| mime_cache_test.go | ||
| mimetypes.go | ||
| misc.go | ||
| passwd.go | ||
| passwd_test.go | ||
| paths.go | ||
| regexp.go | ||
| ring.go | ||
| ring_test.go | ||
| select.go | ||
| select_posix.go | ||
| select_without_pselect.go | ||
| set.go | ||
| shell.go | ||
| short-uuid.go | ||
| short-uuid_test.go | ||
| sockets.go | ||
| sockets_test.go | ||
| stream_decompressor.go | ||
| stream_decompressor_test.go | ||
| strings.go | ||
| strings_test.go | ||
| tar.go | ||
| tar_test.go | ||
| tmpfile_linux.go | ||
| tmpfile_others.go | ||
| tpmfile_test.go | ||
| types.go | ||
| unsafe.go | ||
| utf-8.go | ||
| which.go | ||