]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1078: Terminal ansi colors off by one after tgc reset v9.1.1078
authorJulio B <julio.bacel@gmail.com>
Thu, 6 Feb 2025 19:31:27 +0000 (20:31 +0100)
committerChristian Brabandt <cb@256bit.org>
Thu, 6 Feb 2025 19:31:27 +0000 (20:31 +0100)
commitcde8ff63e2b90ee304bc2e86d9d5e7e20068c79b
tree3af3e9ebcea3d29b3c5468888556d3aabad848dd
parentf50d5364d790619a3b982a3ad3658b5a10daf511
patch 9.1.1078: Terminal ansi colors off by one after tgc reset

Problem:  Terminal ansi colors off by one after tgc reset
Solution: Set the correct index for libvterm palette,
          revert parts in libvterm/src/pen.c that deviated from upstream
          (Julio B)

fixes: #16568
closes: #16573
related: Vim patch v8.2.0804

Co-authored-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Julio B <julio.bacel@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/libvterm/src/pen.c
src/term.c
src/testdir/dumps/Test_terminal_ansi_reset_tgc.dump [new file with mode: 0644]
src/testdir/test_terminal.vim
src/version.c