27 Commits

Author SHA1 Message Date
Mitchell Hashimoto
3360a008cd build: build produces a broken object file for iOS
This gets `zig build -Dtarget=aarch64-ios` working. By "working" I mean
it produces an object file without compiler errors. However, the object
file certainly isn't useful since it uses a number of features that will
not work in the iOS sandbox.

This is just an experiment more than anything to see how hard it would be to
get libghostty working within iOS to render a terminal. Note iOS doesn't
support ptys so this wouldn't be a true on-device terminal. The
challenge right now is to just get a terminal rendering (not usable).
2024-01-13 21:38:58 -08:00
Gregory Anders
060bdff117 terminal: track palette color in cell state
Rather than immediately converting a color palette index into an RGB
value for a cell color, when a palette color is used track the palette
color directly in the cell state and convert to an RGB value in the
renderer.

This causes palette color changes to take effect immediately instead of
only for newly drawn cells.
2024-01-02 22:34:06 -06: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
fac2e470d9 inspector: add cursor style to inspector panel 2023-11-05 22:02:51 -08:00
Mitchell Hashimoto
c12bb4a035 inspector: reset vt seq number on clear 2023-10-25 09:24:37 -07:00
Mitchell Hashimoto
a6c765d1c0 inspector: termio filter also checks metadata values 2023-10-25 08:59:39 -07:00
Mitchell Hashimoto
b91f4c6b0c inspector: minor style tweak 2023-10-25 08:56:58 -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
b70498e77a inspector: reversed a checkbox 2023-10-24 22:04:01 -07:00
Mitchell Hashimoto
7604bf1cac inspector: forgot a file 2023-10-24 21:57:14 -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
Mitchell Hashimoto
5da0e0dab6 inspector: show kitty graphics metadata 2023-10-24 15:27:17 -07:00
Mitchell Hashimoto
dbe4530377 inspector: fix key memory leak 2023-10-24 15:27:17 -07:00
Mitchell Hashimoto
60c8ae806b inspector: remove unused next id system 2023-10-24 15:27:17 -07:00
Mitchell Hashimoto
d82a4760da inspector: note memory leak 2023-10-24 15:27:17 -07:00
Mitchell Hashimoto
25106f9644 inspector: add clear keyboard events button 2023-10-24 15:27:17 -07:00
Mitchell Hashimoto
f560423e3e inspector: render key events 2023-10-24 15:27:17 -07:00
Mitchell Hashimoto
a162c7c47f inspector: move inspector to dedicated folder 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
00ed6069f6 inspector: render basic key inspector 2023-10-24 15:27:16 -07:00