1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-20 10:01:57 +03:00

NCurses: support default colors

This commit is contained in:
Maxime Coste 2012-03-04 19:55:38 +00:00
parent d91ac911e7
commit ded05bb5d3

View File

@ -36,7 +36,7 @@ static int nc_color(Color color)
case Color::Default: case Color::Default:
default: default:
return COLOR_BLACK; return -1;
} }
} }
@ -326,6 +326,7 @@ void init(PromptFunc& prompt_func, GetKeyFunc& get_key_func)
keypad(stdscr, true); keypad(stdscr, true);
curs_set(0); curs_set(0);
start_color(); start_color();
use_default_colors();
ESCDELAY=25; ESCDELAY=25;
prompt_func = prompt; prompt_func = prompt;