Commit Graph

7271 Commits

Author SHA1 Message Date
nick black
39ccdbfcb6
[load_ncinput] send synthesized signal even when draining 2021-10-10 22:03:41 -04:00
nick black
41cf28b775
[NCPP] restore Visual::subtitle() 2021-10-10 20:49:00 -04:00
nick black
66d8eab7b7
[direct_stop] call del_curterm when not on windows 2021-10-10 18:58:08 -04:00
nick black
36e9ab510d
[direct] allocate TAM when rendering images #2254 2021-10-10 18:53:48 -04:00
nick black
a20ee4c75b
[automaton] extract older XTerm versions #2252 2021-10-10 17:25:32 -04:00
nick black
4b89bf2a1a
[automaton] match old XTerm via DA2 #2252 2021-10-10 17:25:25 -04:00
nick black
f5ec1406fe
[uniblocks] fill in background in chunk 2021-10-09 11:15:15 -04:00
nick black
368d32e337
[xterm] fix DECSDM version check for xterm before 357 #2252 2021-10-09 11:11:37 -04:00
nick black
2148bcc4f2
Revert "[nckeys] move from PUA-B to 'plane 18' #2247"
This reverts commit e83f1f5ba3.
2021-10-09 11:07:26 -04:00
nick black
e83f1f5ba3
[nckeys] move from PUA-B to 'plane 18' #2247 2021-10-09 11:06:51 -04:00
nick black
7088f4a767 [NEWS] note about DA1 feature 4 #2229 2021-10-09 09:58:28 -04:00
nick black
4df2cab5a2 [automaton] enable 256-creg sixel when DA1 advertises feature 4 #2229 2021-10-09 09:58:28 -04:00
nick black
98884e21a6 [automaton] fold down DA1 rules, extract attrs #2229 2021-10-09 09:58:28 -04:00
nick black
69c2ae3ba0 Pop keyboard stack if we crash in initialization
if we crash while detecting kitty keyboard support, we
currently don't pop the keyboard state. since we set our
desired state before detecting support, this could leave
the terminal in an invalid state. now, we initialize
kbdlevel to UINT_MAX before detection, so that in a crash,
the pop always happens. we reset it at the end of
interrogation, assuming we didn't load it from a query
response. the downside is that a terminal which doesn't
consume this sequence will get hit with it in a crash, but
we're already crashing, so who cares? leaving the terminal
in an invalid state, however, is very annoying.
2021-10-09 09:58:28 -04:00
nick black
5b5e97033d [sprixel] unite TAM allocation/resize path #2240 2021-10-09 07:50:00 -04:00
nick black
4336aec7d5 [workflows] windows: run ninja install 2021-10-09 07:50:00 -04:00
nick black
0c7a4b3ac6 [kitty] keyboard sanity across screens
A Notcurses program might shift between the regular and
alternate screen freely. At all times, we want the Kitty
keyboard protocol to be locked in. At the same time, we
always want a screen's keyboard state at the time we start
using it preserved, and restored when we're done. Thus:

start: optionally smcup, push the state, set the state, query
leave alternate: pop state, rmcup, push state, set state
enter alternate: pop state, smcup, push state, set state
done: pop state, optionally rmcup

"set state" means both XTMODKEYS and kitty set.

Closes #2249
2021-10-09 06:38:56 -04:00
nick black
afa75e6958 [workflows] build notcurses-tester on windows 2021-10-09 06:38:56 -04:00
nick black
7d82b6f067 [windows] use GetConsoleScreenBufferInfo whenever we have handles 2021-10-09 03:14:47 -04:00
nick black
bee03d5b60
[terminfo] on windows init failure, print panic diagnostic 2021-10-09 02:42:52 -04:00
nick black
685422dbab [CMake] no _FORTIFY_SOURCE on MSYS2 #2119 2021-10-09 02:38:46 -04:00
nick black
6ed6cf2038
[workflows] windows: run ninja 2021-10-09 02:12:28 -04:00
nick black
e8df81ebef
[windows] exit if we can't get ConsoleHandles #2244 2021-10-09 02:01:04 -04:00
nick black
5177773949
[workflow] windows: use ninja/ffmpeg 2021-10-09 01:01:35 -04:00
nick black
7d6fdceb6e
[internal] break API/ALLOC across headers once more to fix python 2021-10-09 00:44:11 -04:00
nick black
75d5b9ee88 [windows] ncneofetch requires compatsrc 2021-10-09 04:19:19 -04:00
nick black
624d181af4
[workflows] try reenabling ctest on windows 2021-10-09 00:16:46 -04:00
nick black
a3ceeac170
unify definitions of API/ALLOC 2021-10-09 00:15:22 -04:00
nick black
5b8f60b50b
[NEWS] mention that we support Kitty keyboard features 1, 2, and 8 2021-10-08 23:34:12 -04:00
nick black
87341111b8
[menu] ignore release events 2021-10-08 22:54:03 -04:00
nick black
e4b75f41e7
[POC] reader: always print legend 2021-10-08 20:29:57 -04:00
nick black
a85d1eebf1
[tree] ignore Release events 2021-10-08 20:24:14 -04:00
nick black
617a211581
[reel] ignore RELEASE events 2021-10-08 20:23:51 -04:00
nick black
dfdd77e2c4
[POC] selector/multiselector ignore release events 2021-10-08 19:22:40 -04:00
nick black
a206cfb700
[readline] ignore suppuables 2021-10-08 19:22:14 -04:00
nick black
e127163b91
[reader] ignore release events 2021-10-08 19:22:00 -04:00
nick black
5c801e6a93
[selector] ignore non-mouse release events 2021-10-08 19:16:38 -04:00
nick black
e17e53c99d
[notcurses-demo] ignore Release events 2021-10-08 19:11:30 -04:00
nick black
f118894057
[ncplayer] test for Release after testing for no event 2021-10-08 19:08:32 -04:00
nick black
8632a23484
[kitty] enable keyboard feature 8 2021-10-08 19:07:06 -04:00
nick black
238c444f02
[kitty] interpret modifiers, enter 2021-10-08 18:12:00 -04:00
nick black
58cc956550
[notcurses-input] detail modifiers as input 2021-10-08 18:11:37 -04:00
nick black
3041496e3a
define NCKEY_ values for modifiers 2021-10-08 18:10:58 -04:00
nick black
ef86dcce1f
[ncplayer] ignore Release events 2021-10-08 17:50:00 -04:00
nick black
07980c13df
[input] set id to -1 if returning error 2021-10-08 17:49:43 -04:00
nick black
5f82a49065
[tetris] drop Release events 2021-10-08 17:41:00 -04:00
nick black
41282e47e1
[TERMINALS] add some commentary on problematic characters 2021-10-08 17:18:08 -04:00
nick black
41de49eb6c
[windows] use declspec(dllexport) for API 2021-10-08 14:14:28 -04:00
nick black
e5f9600066
ncdirect_readline: ignore RELEASE events 2021-10-08 14:14:14 -04:00
nick black
5f9d88fa89 [tests] use universal initialization for ncvisual_options #1682 2021-10-08 01:56:22 -04:00