Commit Graph

304 Commits

Author SHA1 Message Date
Michael Grant
3739dfeab3 Merge and fix conflicts. 2026-10-10 10:16:38 +02:00
Nicholas Marriott
48bbaa1172 Test for 5701. 2026-10-08 08:06:59 +01:00
Nicholas Marriott
ae33689815 Test for 5702. 2026-10-08 07:31:03 +01:00
Nicholas Marriott
5512949947 Test for 5696. 2026-10-07 14:14:02 +01:00
Nicholas Marriott
052c54fb49 Test for 5399. 2026-10-07 14:01:09 +01:00
Nicholas Marriott
b04055d577 Test for join-pane with modal floating pane. 2026-10-07 13:03:16 +01:00
Nicholas Marriott
6c30e1bc03 Make terminal bigger so test works on macOS. 2026-10-07 11:18:24 +01:00
Nicholas Marriott
a8158b2443 Fix test on macOS and add new test for tty. 2026-10-07 11:02:08 +01:00
Nicholas Marriott
f5c8e5acbd Fix tests. 2026-10-07 10:45:25 +01:00
Nicholas Marriott
3e22d43c66 Fix tests. 2026-10-07 10:16:50 +01:00
Nicholas Marriott
2d7bca72e7 Fix tests. 2026-10-07 09:42:00 +01:00
Nicholas Marriott
7b4d4074cf Fix tests. 2026-10-07 09:08:33 +01:00
Nicholas Marriott
3b20a0418a Fix tests. 2026-10-07 08:06:16 +01:00
Nicholas Marriott
20555f1508 Fix tests. 2026-10-07 07:29:44 +01:00
Nicholas Marriott
209d389a81 Fix test again. 2026-10-07 06:46:25 +01:00
Nicholas Marriott
4775bc95e1 Fix tests on macOS. 2026-10-07 06:35:49 +01:00
Nicholas Marriott
aa52838c84 Don't use so many ptys. 2026-10-07 06:28:47 +01:00
Nicholas Marriott
059df9643c Tests for 5675. 2026-10-06 18:50:37 +01:00
Nicholas Marriott
068812380f Test for drag on status line. 2026-10-06 12:28:40 +01:00
Nicholas Marriott
c067a0b1bf Tests for selection mode and redraw. 2026-10-06 09:26:29 +01:00
Nicholas Marriott
cdb8575630 Test for 5667 from David Schweikert. 2026-10-05 16:52:48 +01:00
Nicholas Marriott
e55c693d1a Test for 5688. 2026-10-05 14:46:14 +01:00
Nicholas Marriott
86a2142ded Test for 5684 from mml00 dot work at gmail dot com. 2026-10-05 09:41:50 +01:00
Nicholas Marriott
8f25579c5a Fix test again. 2026-10-04 09:18:05 +01:00
Nicholas Marriott
65a034b471 Fix test again. 2026-10-04 08:50:14 +01:00
Nicholas Marriott
bf9fac7b16 Fix test again. 2026-10-03 22:25:05 +01:00
Nicholas Marriott
59387debff Fix test. 2026-10-03 08:41:26 +01:00
Nicholas Marriott
ba738e8155 Fix another test on macOS. 2026-10-03 08:28:51 +01:00
Nicholas Marriott
bc3cf3bfa8 Fix another test on macOS. 2026-10-03 08:28:02 +01:00
Nicholas Marriott
c4a8eeb236 Fix test again. 2026-10-03 07:59:23 +01:00
Nicholas Marriott
3bdbaacd94 Fix test on macOS. 2026-10-03 07:48:52 +01:00
Nicholas Marriott
f37d4c0553 Test for 5593. 2026-10-02 16:21:13 +01:00
Nicholas Marriott
24cde9e0eb Test for 5613. 2026-10-02 16:13:12 +01:00
Nicholas Marriott
ec2f2d9f99 Tes for 5656. 2026-10-02 15:17:12 +01:00
Nicholas Marriott
5f278c8f2a Regress for damage rectangles. 2026-10-02 15:15:02 +01:00
Nicholas Marriott
4712726062 Tests for 5661 etc, from Alexandre Fiori. 2026-10-02 13:28:16 +01:00
Nicholas Marriott
ff1364a19c copy-mode -S test. 2026-10-02 13:13:32 +01:00
Nicholas Marriott
8d3172f4d4 Fix test on macOS. 2026-09-30 06:46:05 +01:00
Michael Grant
ff391aa052 Send kitty keyboard probe only if extended-keys is not off. 2026-09-29 17:48:26 +01:00
Nicholas Marriott
ffbbdcc852 Test for 5659 from Alexandre Fiori. 2026-09-29 15:00:09 +01:00
Nicholas Marriott
30e6a552b4 More repeat tests. 2026-09-29 12:58:51 +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