Commit Graph

7205 Commits (7be722edb3a9be5b969a554767e68094ad5dca68)
 

Author SHA1 Message Date
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
3 years ago
nick black afa75e6958 [workflows] build notcurses-tester on windows 3 years ago
nick black 7d82b6f067 [windows] use GetConsoleScreenBufferInfo whenever we have handles 3 years ago
nick black bee03d5b60
[terminfo] on windows init failure, print panic diagnostic 3 years ago
nick black 685422dbab [CMake] no _FORTIFY_SOURCE on MSYS2 #2119 3 years ago
nick black 6ed6cf2038
[workflows] windows: run ninja 3 years ago
nick black e8df81ebef
[windows] exit if we can't get ConsoleHandles #2244 3 years ago
nick black 5177773949
[workflow] windows: use ninja/ffmpeg 3 years ago
nick black 7d6fdceb6e
[internal] break API/ALLOC across headers once more to fix python 3 years ago
nick black 75d5b9ee88 [windows] ncneofetch requires compatsrc 3 years ago
nick black 624d181af4
[workflows] try reenabling ctest on windows 3 years ago
nick black a3ceeac170
unify definitions of API/ALLOC 3 years ago
nick black 5b8f60b50b
[NEWS] mention that we support Kitty keyboard features 1, 2, and 8 3 years ago
nick black 87341111b8
[menu] ignore release events 3 years ago
nick black e4b75f41e7
[POC] reader: always print legend 3 years ago
nick black a85d1eebf1
[tree] ignore Release events 3 years ago
nick black 617a211581
[reel] ignore RELEASE events 3 years ago
nick black dfdd77e2c4
[POC] selector/multiselector ignore release events 3 years ago
nick black a206cfb700
[readline] ignore suppuables 3 years ago
nick black e127163b91
[reader] ignore release events 3 years ago
nick black 5c801e6a93
[selector] ignore non-mouse release events 3 years ago
nick black e17e53c99d
[notcurses-demo] ignore Release events 3 years ago
nick black f118894057
[ncplayer] test for Release after testing for no event 3 years ago
nick black 8632a23484
[kitty] enable keyboard feature 8 3 years ago
nick black 238c444f02
[kitty] interpret modifiers, enter 3 years ago
nick black 58cc956550
[notcurses-input] detail modifiers as input 3 years ago
nick black 3041496e3a
define NCKEY_ values for modifiers 3 years ago
nick black ef86dcce1f
[ncplayer] ignore Release events 3 years ago
nick black 07980c13df
[input] set id to -1 if returning error 3 years ago
nick black 5f82a49065
[tetris] drop Release events 3 years ago
nick black 41282e47e1
[TERMINALS] add some commentary on problematic characters 3 years ago
nick black 41de49eb6c
[windows] use declspec(dllexport) for API 3 years ago
nick black e5f9600066
ncdirect_readline: ignore RELEASE events 3 years ago
nick black 5f9d88fa89 [tests] use universal initialization for ncvisual_options #1682 3 years ago
nick black a8b3634ca7 [ncvisual] add pxoffy+pxoffx fields to ncvisual_options #1682 3 years ago
nick black 88e2ac14ee
[input] handle wezterm's modified functionals 3 years ago
nick black 7f0fbc6b7e
[README] mention 'mintty -P on' #2116 3 years ago
nick black 1456422d89 use explicit CRLF where necessary on windows #2237 3 years ago
nick black c63b3d31a4
[README] more FAQ syntax 3 years ago
nick black 21017dcb6e
[README] fix syntax argh 3 years ago
nick black 7ba72c4c20
v2.4.5 3 years ago
nick black 43e3b98125
[ncplayer] ignore release events 3 years ago
nick black 66d6913b69
[ncpp] express EvType enums 3 years ago
nick black 8fc2a4b59b notcurses-input: add media keys 3 years ago
nick black 22b01a4df4 [kitty] add FAQ entry about enter on init #2184 3 years ago
nick black d95cf30494 [kitty] extract kitty_functional(), NCKEY_BEGIN #2184 3 years ago
nick black 316c192426 [kitty] handle some more functional forms #2184 3 years ago
nick black bc011591c1 [kitty] handle release event for f0[1-4] #2184 3 years ago
nick black b2ed0f2da9 [kitty] handle release events for arrows #2184 3 years ago
nick black 7c5bed3732 [kitty] enable evtype level (2), functionals #2184 3 years ago