Commit Graph

24 Commits

Author SHA1 Message Date
Andrzej Rybczak
def7ea42f6 Consider mouse support when pausing and unpausing curses interface 2020-12-21 19:49:02 +01:00
Andrzej Rybczak
b68354a223 Update header information and my email 2020-12-19 17:51:49 +01:00
jaredforrest
aa9ca84cb2 Fix delete key in st (#425) 2020-12-10 15:04:12 +01:00
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.
2020-01-12 06:06:29 -05:00
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.
2018-05-13 18:15:21 +02:00
Hugh Wang
a22cd2c68c Fix crash when colors are disabled 2017-06-15 13:59:03 +02:00
Andrzej Rybczak
19d32648ed Replace highlight colors with prefixes and suffixes 2017-05-21 15:22:54 +02:00
Andrzej Rybczak
8134e6e23b configure: check if curses.h exposes wide-char functions 2017-04-23 04:24:57 +02:00
Andrzej Rybczak
dff00a873a Explicitly define NCURSES_WIDECHAR instead of _XOPEN_SOURCE 2017-03-29 10:40:54 +02:00
Andrzej Rybczak
5dfe6f9a8b Formatted color: include <istream> 2017-03-28 11:44:26 +02:00
Andrzej Rybczak
55d2f4c70d Change 'previous' background color to 'current' and add some documentation 2017-03-26 10:05:34 +02:00
Andrzej Rybczak
035bc65bf9 Make single character prompts more robust 2017-03-26 06:03:12 +02:00
Andrzej Rybczak
5d12c9d544 Properly set window timeout 2017-03-26 06:02:30 +02:00
Andrzej Rybczak
f1d9c24938 Do not exit readline prompt early if it's in a subcommand of some sort 2017-03-24 05:07:14 +01:00
Andrzej Rybczak
86ec51624e Update AUTHORS and copyright line 2017-03-12 15:05:48 +01:00
Andrzej Rybczak
0ab5fbb809 Use scoped window timeout 2017-02-13 10:55:46 +01:00
Andrzej Rybczak
0b1f0bfe0d Make Property use boost::variant 2017-01-28 17:43:16 +01:00
Andrzej Rybczak
cd414810a5 If only 8 colors are available, map the rest of 256 to base ones 2017-01-06 17:04:02 +01:00
Andrzej Rybczak
7d502e42ba Check if songs are in playlist when displaying them, not up-front 2017-01-06 13:58:22 +01:00
Andrzej Rybczak
29f6d8f18e Fix displaying items in menu 2016-12-25 00:41:24 +01:00
Andrzej Rybczak
eaac6ad062 Retain previous background by default when switching colors 2016-12-24 16:09:13 +01:00
Andrzej Rybczak
a488c2d89d Support attaching format information to selected color variables 2016-12-23 22:52:47 +01:00
Andrzej Rybczak
9c13827b62 Remove Format::None 2016-12-22 16:16:53 +01:00
Andrzej Rybczak
478f4454d8 Move ncurses related files to curses directory 2016-12-22 15:25:25 +01:00