Mitchell Hashimoto
90c59f2462
termio: change all sizes to the new size type
2024-11-14 13:31:10 -08:00
Tim Culverhouse
4f1cee8eb9
fix: report correct screen pixel size
...
Mode 2048 and CSI 14 t are size report control sequences which contain
the text area size in pixels. The text area is defined to be the extents
of the grid (rows and columns). Ghostty calculates the available size
for the text area by setting the available padding, and then filling as
much of the remaining space as possible. However, if there are remainder
pixels these are still reported as part of the text area size.
Pass the cell_size geometry through so that we can always report the
correct value: columns * cell width and rows * cell height.
2024-10-18 22:29:52 -05:00
Mitchell Hashimoto
835d622baa
termio: writer => mailbox
2024-07-15 10:23:09 -07:00
Mitchell Hashimoto
001a6d2624
termio: reader => backend
2024-07-15 10:14:14 -07:00
Mitchell Hashimoto
dc6dc1d3d2
termio: remove more state
2024-07-15 10:02:02 -07:00
Mitchell Hashimoto
3625e1e58e
termio: take reader as option
2024-07-15 09:55:31 -07:00
Mitchell Hashimoto
af7adedb50
termio: writer abstraction
2024-07-14 14:48:48 -07:00
Mitchell Hashimoto
49c92fd0e6
termio: rename Exec to Termio throughout
2024-07-13 15:19:37 -07:00
Mitchell Hashimoto
8f9cdff1f5
small stylistic tweaks
2024-06-08 19:07:10 -07:00
Mitchell Hashimoto
dc51b8269c
plumb the linux cgroup through to termio
2024-06-04 21:37:34 -07:00
Mitchell Hashimoto
f2f2b1eaf1
termio/exec: initial subprocess screen size should be sub padding
2023-08-24 08:45:32 -07:00
Mitchell Hashimoto
6b45d931c3
plumb through the resources dir to termio
2023-08-08 09:29:38 -07:00
Mitchell Hashimoto
8f0be3ad9e
termio: use DerivedConfig
2023-03-19 10:09:17 -07:00
Mitchell Hashimoto
8cb9ee5d59
make it claer the config pointer is not stable after renderer/IO init
2023-03-19 09:49:44 -07:00
Mitchell Hashimoto
913131c8f1
rename more stuff
2023-02-24 07:58:29 -08:00
Mitchell Hashimoto
fbe35c226b
Integrating new surface
2023-02-24 07:58:29 -08:00
Mitchell Hashimoto
1273527048
renderer uses libxev
...
Still some bugs and TODOs, but it is workable.
2023-02-01 15:52:22 -08:00
Mitchell Hashimoto
4ced2290b3
OSC handling, handle OSC change window title command
2022-11-14 10:46:40 -08:00
Mitchell Hashimoto
746858cea6
implement cursor reset when data comes in pty
2022-11-05 19:31:28 -07:00
Mitchell Hashimoto
a8e7c52041
IO thread can trigger render and write data
2022-11-05 19:31:02 -07:00
Mitchell Hashimoto
9b3d22e55e
IO thread has more state setup
2022-11-05 19:31:02 -07:00
Mitchell Hashimoto
35c1decd58
Start pulling out IO thread and IO implementation
2022-11-05 19:31:02 -07:00