diff options
| author | KBS <youdie006@naver.com> | 2026-08-26 23:10:57 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-26 10:10:57 -0400 |
| commit | 0346958153bb0d991ad684bd8ba30ec2c056f35c (patch) | |
| tree | 074f087f9fcba17e1054004fcebb5bee259aae58 /runtime/lua | |
| parent | 8d9a798d6d99c60d9434584d0d5dc38f3f57b2bd (diff) | |
| download | rneovim-0346958153bb0d991ad684bd8ba30ec2c056f35c.tar.gz rneovim-0346958153bb0d991ad684bd8ba30ec2c056f35c.tar.bz2 rneovim-0346958153bb0d991ad684bd8ba30ec2c056f35c.zip | |
fix(terminal): truecolor SGR with colour space id #41491
libvterm reads the first three sub-parameters of an SGR 38:2 or 48:2 sequence
as R:G:B, so a colour space id shifts the channels: the empty slot becomes red
via CSI_ARG_MISSING truncating to 255, and green and blue move over one.
Skip the colour space id when the colon-separated group holds more than three
arguments. The group length comes from CSI_ARG_HAS_MORE rather than the raw
argument count, so a following semicolon-separated parameter is not consumed.
Diffstat (limited to 'runtime/lua')
0 files changed, 0 insertions, 0 deletions