Mercurial > vim
diff src/libvterm/src/pen.c @ 17777:811a12a78164 v8.1.1885
patch 8.1.1885: comments in libvterm are inconsistent
commit https://github.com/vim/vim/commit/db1085a5630ffdaa2e9f342c06cc739ebdf1a99a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 18 20:41:38 2019 +0200
patch 8.1.1885: comments in libvterm are inconsistent
Problem: Comments in libvterm are inconsistent.
Solution: Use // comments. Als update the table of combining characters.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 18 Aug 2019 20:45:04 +0200 |
parents | cd5c83115ec6 |
children | 1c75e1974313 |
line wrap: on
line diff
--- a/src/libvterm/src/pen.c +++ b/src/libvterm/src/pen.c @@ -3,7 +3,7 @@ #include <stdio.h> static const VTermColor ansi_colors[] = { - /* R G B index */ + // R G B index { 0, 0, 0, 1 }, // black { 224, 0, 0, 2 }, // red { 0, 224, 0, 3 }, // green @@ -28,7 +28,7 @@ static int ramp6[] = { 0x00, 0x5F, 0x87, 0xAF, 0xD7, 0xFF, }; -/* Use 0x81 instead of 0x80 to be able to distinguish from ansi black */ +// Use 0x81 instead of 0x80 to be able to distinguish from ansi black static int ramp24[] = { 0x08, 0x12, 0x1C, 0x26, 0x30, 0x3A, 0x44, 0x4E, 0x58, 0x62, 0x6C, 0x76, 0x81, 0x8A, 0x94, 0x9E, 0xA8, 0xB2, 0xBC, 0xC6, 0xD0, 0xDA, 0xE4, 0xEE,