14 Commits

Author SHA1 Message Date
Mitchell Hashimoto
a436bd0af6 move datastructures to dedicated "datastruct" package 2024-11-07 14:39:10 -08:00
Jeffrey C. Ollie
b11b8be124 Implement Kitty Color Protocol (OSC 21)
Kitty 0.36.0 added support for a new OSC escape sequence for
quering, setting, and resetting the terminal colors. Details
can be found [here](https://sw.kovidgoyal.net/kitty/color-stack/#setting-and-querying-colors).

This fully parses the OSC 21 escape sequences, but only supports
actually querying and changing the foreground color, the background
color, and the cursor color because that's what Ghostty currently
supports. Adding support for the other settings that Kitty supports
changing ranges from easy (cursor text) to difficult (visual bell,
second transparent background color).
2024-08-17 07:05:28 -05:00
Mitchell Hashimoto
53a5734d09 terminal: change mask from u256 to StaticBitSet 2023-11-09 15:14:33 -08:00
Gregory Anders
f397353282 core: implement querying with OSC 4 2023-11-09 11:49:06 -06:00
Mitchell Hashimoto
a6c765d1c0 inspector: termio filter also checks metadata values 2023-10-25 08:59:39 -07:00
Mitchell Hashimoto
2ecbc8d04e inspector: add OSC command metadata to inspector 2023-10-25 08:55:15 -07:00
Mitchell Hashimoto
74d9996eb8 inspector: always increment seq number for vt events 2023-10-24 22:26:39 -07:00
Mitchell Hashimoto
c1469eb7b2 inspector: track lots of metadata for vt events 2023-10-24 21:56:38 -07:00
Mitchell Hashimoto
a72bfc4a31 inspector: add sequence number to termio 2023-10-24 21:26:34 -07:00
Mitchell Hashimoto
ff54c466cd inspector: termio pause/resume 2023-10-24 21:20:08 -07:00
Mitchell Hashimoto
dc11513c1b inspector: add basic termio seq filter 2023-10-24 21:15:00 -07:00
Mitchell Hashimoto
ccb1cea49a inspector: filter terminal io events by kind 2023-10-24 20:55:29 -07:00
Mitchell Hashimoto
c60ead99aa inspector: format termio a little better, incomplete 2023-10-24 20:31:26 -07:00
Mitchell Hashimoto
7b2af3a039 inspector: start termio log 2023-10-24 15:27:17 -07:00