Mitchell Hashimoto
15b7e7fcd7
termio: coalesce resize events
...
On macOS, we were seeing resize events dropped by child processes if
too many SIGWNCH events were generated.
2023-03-08 08:43:42 -08:00
Mitchell Hashimoto
89d07fcd83
clear_history binding, default Cmd+K
2023-03-03 09:27:47 -08:00
Mitchell Hashimoto
11d6e91228
termio: reader thread is thread-safe for writing to writer
2023-02-06 14:52:24 -08:00
Mitchell Hashimoto
e24dabd67a
extract out message data from termio
...
This will be used for other mailboxes, for example this is required for
sending the window title to the app thread. Right now we hardcode an
array size but we can do better than that.
2022-11-15 13:41:11 -08:00
Mitchell Hashimoto
860fbc3aee
padding needs to be sent to termio
2022-11-14 17:25:35 -08:00
Mitchell Hashimoto
8f1fcc64e8
rename termio thread message struct
2022-11-05 19:34:41 -07:00
Mitchell Hashimoto
95d054b185
allocate data for paste data if its too large
2022-11-05 19:31:28 -07:00
Mitchell Hashimoto
f2d9475d5d
Switch over to the IO thread. A messy commit!
2022-11-05 19:31:26 -07:00
Mitchell Hashimoto
5cb6ebe34d
Actually, we'll manage selection and viewports on the windowing thread
2022-11-05 19:31:02 -07:00
Mitchell Hashimoto
989046a06c
More IO events
2022-11-05 19:31:02 -07:00
Mitchell Hashimoto
1a7b9f7465
termio: clear selection
2022-11-05 19:31:02 -07:00
Mitchell Hashimoto
b100406a6e
termio: start the thread mailbox, hook up resize
2022-11-05 19:31:02 -07:00