Michael Grant
ff391aa052
Send kitty keyboard probe only if extended-keys is not off.
2026-09-29 17:48:26 +01:00
Michael Grant
cf7aad1ce8
Fix Kitty key encoding: legacy fallback, F3, case, send-keys drop.
2026-09-29 07:40:01 +01:00
Michael Grant
25caebc173
Cleanup and rebase on master.
2026-09-29 07:40:01 +01:00
Michael Grant
d85329e5f0
Detection, done like sync:
...
- ESC[?u goes to every VT100-like terminal at attach, whatever the
options.
- A reply turns on a new kittykeys terminal feature. Users can force
it on or off with terminal-features kittykeys, including kittykeys@
to turn it off.
- Changing extended-keys now takes effect immediately for attached
clients (options.c).
Use, per client, when extended-keys is on: Kitty for clients that have
kittykeys, modifyOtherKeys for clients with extkeys, VT10x otherwise.
Pane side:
- Applications can request either protocol; Kitty wins if one asks for
both.
- Each application gets what it asked for, whichever client typed the
key.
- ESC[?u is answered truthfully.
- The per-client gate is gone. window.c and popup.c are simply
master's versions again.
extended-keys always is back to its master meaning, forcing
modifyOtherKeys mode 1 only. Forcing Kitty on every program would have
sent bash ESC[97;5u for Ctrl-A.
extended-keys-format kitty is still accepted, but now behaves the same
as csi-u.
2026-09-29 07:40:01 +01:00
Michael Grant
7545954d00
Add a test for Kitty keyboard protocol input parsing
...
Also note that kitty-keys-terminal.sh cannot run under the regress
Makefile, which uses env -i and so removes DISPLAY and HOME, and make the
Kitty test file modes match the rest of regress.
2026-09-29 07:40:01 +01:00
Michael Grant
e1612fcab3
Cleanup.
2026-09-29 07:40:01 +01:00
Michael Grant
f54d4139b3
Make Kitty keyboard negotiation per client
2026-09-29 07:40:01 +01:00
Michael Grant
5e5cc3e5bc
Add Kitty keyboard protocol support
2026-09-29 07:40:01 +01:00
Nicholas Marriott
3a5df8780f
Fix test socket names.
2026-09-29 06:50:38 +01:00
Nicholas Marriott
6ad23bb99c
Update test.
2026-09-28 17:55:47 +01:00
Nicholas Marriott
294bf0bf16
Test for 5648.
2026-09-28 12:26:40 +01:00
Nicholas Marriott
31b622781b
Sort fix tests from Alexandre Fiori.
2026-09-28 11:42:15 +01:00
Nicholas Marriott
797d7c176e
Test for 5645.
2026-09-28 11:30:01 +01:00
Nicholas Marriott
2d7148b3fa
Tests for 5641.
2026-09-28 11:10:24 +01:00
Nicholas Marriott
4aeb3f61f0
5643 test from Alexandre Fiori.
2026-09-28 10:56:24 +01:00
Nicholas Marriott
ef712916f6
Check for v1 bounds checks.
2026-09-28 10:32:12 +01:00
Nicholas Marriott
71c790d659
Fix test.
2026-09-28 09:23:29 +01:00
Nicholas Marriott
d928682b38
5438 test.
2026-09-25 14:45:18 +01:00
Nicholas Marriott
545ba99f8c
Tests for 5636.
2026-09-25 09:46:21 +01:00
Nicholas Marriott
5a0440b4f8
Test for 5631.
2026-09-24 19:59:45 +01:00
Nicholas Marriott
29e6b80286
Tests for SU scrolling.
2026-09-24 12:20:02 +01:00
Nicholas Marriott
6bab150c58
Fix test.
2026-09-24 09:15:21 +01:00
Nicholas Marriott
83c8962cf9
Some tests.
2026-09-22 14:25:51 +01:00
Nicholas Marriott
21ea1c91c5
Merge pull request #5627 from pdietl/regress-input-keys-race
...
Wait for the pane to echo the key before capturing in input-keys.sh
2026-09-22 07:55:13 +01:00
Nicholas Marriott
cb9f9b588f
Fix test.
2026-09-22 07:52:51 +01:00
Pete Dietl
d6db719b19
Wait for the pane to echo the key before capturing in input-keys.sh
2026-09-22 00:21:23 -05:00
Nicholas Marriott
6a8c21fb41
macOS parallel issues.
2026-09-21 22:27:43 +01:00
Nicholas Marriott
326b9a4f16
Another timing race.
2026-09-21 22:18:44 +01:00
Nicholas Marriott
6871fcb157
Add missing test cleanup.
2026-09-21 22:16:06 +01:00
Nicholas Marriott
1d9943c6e6
Keep window alive.
2026-09-21 22:12:33 +01:00
Nicholas Marriott
f5c4998db3
Make regress parallel friendly.
2026-09-21 22:00:47 +01:00
Nicholas Marriott
cc81429d8a
Do not make test so timing sensitive.
2026-09-21 21:51:30 +01:00
Nicholas Marriott
324c636c5c
Test for 5447 and for copy-mode zero line crash.
2026-09-21 13:14:44 +01:00
Nicholas Marriott
166851bf87
Update tests and bits after popups removed.
2026-09-21 12:05:37 +01:00
Nicholas Marriott
81794f3047
Test for newp -A and resize.
2026-09-21 11:39:09 +01:00
Nicholas Marriott
1eed85c344
Change tests for 0000, for invalid layouts.
2026-09-20 09:37:59 +01:00
Nicholas Marriott
73042686d8
Test for 5599.
2026-09-20 09:19:35 +01:00
Nicholas Marriott
313ad6fdc5
Tests for 5602 and for run-shell -c.
2026-09-20 09:11:24 +01:00
Nicholas Marriott
594465fbe7
Regress test for 5591 and another one I forget.
2026-09-20 08:44:56 +01:00
Nicholas Marriott
d215280b00
Add rounded border tests.
2026-09-11 11:17:35 +01:00
Nicholas Marriott
d859a0f410
Test for resizing floating panes, from Noam Stolero.
2026-09-11 09:16:55 +01:00
Nicholas Marriott
10d00cc7cb
Modal pane test changes.
2026-09-11 09:10:14 +01:00
Nicholas Marriott
d9a5e82678
Fix tests.
2026-09-10 12:00:01 +01:00
Nicholas Marriott
fc695b4e86
Test for v1 nesting limit, based on a changed from Afonso Januário.
2026-09-09 10:01:32 +01:00
Nicholas Marriott
36fb7ab084
Tests of border.
2026-09-09 09:32:14 +01:00
Nicholas Marriott
077d6e53cd
Test for invalid prompt.
2026-09-09 08:53:51 +01:00
Nicholas Marriott
4e19f7a8dc
New layout format regress test, from Dane Jensen.
2026-09-09 08:04:23 +01:00
Nicholas Marriott
98637576bd
Test for new-layouts flag.
2026-09-08 11:27:25 +01:00
Nicholas Marriott
6a24d5437b
JSON test.
2026-09-08 09:36:26 +01:00
Nicholas Marriott
8396a63128
capture-pane -I test.
2026-09-08 08:32:05 +01:00