Skip to content

Commit

Permalink
legible colors across all terminal configurations
Browse files Browse the repository at this point in the history
So far I've been trying to make Teliva follow the default colorscheme of
the terminal, but that easily ends up with illegible color combinations.
New plan: always start with a light background within Teliva. People who
want a dark background will currently need to mess with C sources.

This should somewhat fix #1.
It's still not clear whether the default should be a dark or light
background. While dark background is more common in terminals, I believe
newcomers to terminals will prefer a light background. Then again, I'm
biased since I use a light background in my terminals.
  • Loading branch information
akkartik committed Dec 4, 2021
1 parent 6f6595b commit 947abf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lua.c
Expand Up @@ -1183,7 +1183,7 @@ int main (int argc, char **argv) {
initscr();
keypad(stdscr, 1);
start_color();
use_default_colors();
assume_default_colors(0, 15);
draw_menu(L);
echo();
s.argc = argc;
Expand Down

0 comments on commit 947abf2

Please sign in to comment.