mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
terminal: Initialize colors in reverse order (#6160)
Closes #3601 Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
This commit is contained in:
parent
ddab4661f7
commit
34e24cb2f7
@ -174,7 +174,7 @@ void terminal_init(void)
|
||||
VTerm *vt = vterm_new(24, 80);
|
||||
VTermState *state = vterm_obtain_state(vt);
|
||||
|
||||
for (int color_index = 0; color_index < 256; color_index++) {
|
||||
for (int color_index = 255; color_index >= 0; color_index--) {
|
||||
VTermColor color;
|
||||
// Some of the default 16 colors has the same color as the later
|
||||
// 240 colors. To avoid collisions, we will use the custom colors
|
||||
|
Loading…
Reference in New Issue
Block a user