jaredforrest
aa9ca84cb2
Fix delete key in st ( #425 )
5 years ago
nick black
302bcca99a
Curses: don't iterate through unbound COLORS #369
...
On DirectColor-capable terminals with the proper terminfo
database in use, COLORS is 2^24. Since the color map is
only 64k entries, this resulted in a segfault. I've
introduced NC::colorCount(), which bounds it by the
previously assumed maximum (and usable range) of 256.
6 years ago
Jan Holthuis
81cb7a4f85
Restore curses after running external command
...
This allows running TUI tools like vim via run_external_command without
destroying the ncmpcpp curses output.
8 years ago
Hugh Wang
a22cd2c68c
Fix crash when colors are disabled
9 years ago
Andrzej Rybczak
19d32648ed
Replace highlight colors with prefixes and suffixes
9 years ago
Andrzej Rybczak
8134e6e23b
configure: check if curses.h exposes wide-char functions
9 years ago
Andrzej Rybczak
dff00a873a
Explicitly define NCURSES_WIDECHAR instead of _XOPEN_SOURCE
9 years ago
Andrzej Rybczak
5dfe6f9a8b
Formatted color: include <istream>
9 years ago
Andrzej Rybczak
55d2f4c70d
Change 'previous' background color to 'current' and add some documentation
9 years ago
Andrzej Rybczak
035bc65bf9
Make single character prompts more robust
9 years ago
Andrzej Rybczak
5d12c9d544
Properly set window timeout
9 years ago
Andrzej Rybczak
f1d9c24938
Do not exit readline prompt early if it's in a subcommand of some sort
9 years ago
Andrzej Rybczak
86ec51624e
Update AUTHORS and copyright line
9 years ago
Andrzej Rybczak
0ab5fbb809
Use scoped window timeout
9 years ago
Andrzej Rybczak
0b1f0bfe0d
Make Property use boost::variant
9 years ago
Andrzej Rybczak
cd414810a5
If only 8 colors are available, map the rest of 256 to base ones
9 years ago
Andrzej Rybczak
7d502e42ba
Check if songs are in playlist when displaying them, not up-front
9 years ago
Andrzej Rybczak
29f6d8f18e
Fix displaying items in menu
9 years ago
Andrzej Rybczak
eaac6ad062
Retain previous background by default when switching colors
9 years ago
Andrzej Rybczak
a488c2d89d
Support attaching format information to selected color variables
9 years ago
Andrzej Rybczak
9c13827b62
Remove Format::None
9 years ago
Andrzej Rybczak
478f4454d8
Move ncurses related files to curses directory
9 years ago