mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-18 17:02:06 +03:00
NCurses: support default colors
This commit is contained in:
parent
d91ac911e7
commit
ded05bb5d3
@ -36,7 +36,7 @@ static int nc_color(Color color)
|
||||
|
||||
case Color::Default:
|
||||
default:
|
||||
return COLOR_BLACK;
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
@ -326,6 +326,7 @@ void init(PromptFunc& prompt_func, GetKeyFunc& get_key_func)
|
||||
keypad(stdscr, true);
|
||||
curs_set(0);
|
||||
start_color();
|
||||
use_default_colors();
|
||||
ESCDELAY=25;
|
||||
|
||||
prompt_func = prompt;
|
||||
|
Loading…
Reference in New Issue
Block a user