10134 Commits

Author SHA1 Message Date
Mitchell Hashimoto
e172cffd4d modify terminal tests to avoid append 2022-05-10 19:06:50 -07:00
Mitchell Hashimoto
bc7b3a0996 terminal: start pulling out stream processing into dedicated type 2022-05-10 19:01:32 -07:00
Mitchell Hashimoto
de7d950052 terminal: move tests into main 2022-05-10 14:40:37 -07:00
Mitchell Hashimoto
6589a47352 send esc 2022-05-10 14:13:59 -07:00
Mitchell Hashimoto
1e8e80ed7b osc: change window title with code 2 2022-05-10 14:12:35 -07:00
Mitchell Hashimoto
daa0368319 parse DCS sequences (but do nothing) 2022-05-10 14:09:24 -07:00
Mitchell Hashimoto
28b3ac52e9 osc: reset_cursor_color 2022-05-10 12:15:35 -07:00
Mitchell Hashimoto
b585fe463d osc parser temporary state changed to union 2022-05-10 12:10:44 -07:00
Mitchell Hashimoto
eee837f69b osc: prompt_end 2022-05-10 11:57:42 -07:00
Mitchell Hashimoto
92805f57b0 osc: end of command 2022-05-10 11:54:43 -07:00
Mitchell Hashimoto
6b5bdc4634 OSC parses prompt_start 2022-05-10 11:40:37 -07:00
Mitchell Hashimoto
bb4332ac38 terminal: OSC parser 2022-05-10 09:27:29 -07:00
Mitchell Hashimoto
1045c40489 enter is CR 2022-05-09 21:40:29 -07:00
Mitchell Hashimoto
adac8a3f60 implement ECH 2022-05-09 21:17:21 -07:00
Mitchell Hashimoto
eaffc8a0d1 fix VPA/HPA offsets 2022-05-09 21:04:41 -07:00
Mitchell Hashimoto
e3adedf6e6 fix a couple memory leaks 2022-05-09 20:50:06 -07:00
Mitchell Hashimoto
32ccfee94f implement scroll behavior for reverse index, add conformance 2022-05-09 20:39:22 -07:00
Mitchell Hashimoto
354ed6c21a implement reverse index and erase display below 2022-05-09 17:28:27 -07:00
Mitchell Hashimoto
afb8bb6d60 Add conformance apps 2022-05-09 17:28:14 -07:00
Mitchell Hashimoto
8fb660bb94 forgot a letter on ctrl characters 2022-05-09 14:14:49 -07:00
Mitchell Hashimoto
b0dcf2f77a implement (untested) more codes 2022-05-09 13:03:41 -07:00
Mitchell Hashimoto
c0c034af68 terminal: collect intermediates properly 2022-05-09 12:55:09 -07:00
Mitchell Hashimoto
6f66a0dbeb parse SGR really poorly 2022-05-09 10:02:23 -07:00
Mitchell Hashimoto
86ab28cf10 esc dispatch is handled in parser 2022-05-08 20:52:15 -07:00
Mitchell Hashimoto
54783e3624 cursor right 2022-05-08 20:42:24 -07:00
Mitchell Hashimoto
566872f407 DCH delete chars 2022-05-08 20:39:21 -07:00
Mitchell Hashimoto
c4c131ebe1 rename some funcs 2022-05-08 20:25:02 -07:00
Mitchell Hashimoto
fd0fa1d08b implement erase line (EL) CSI 2022-05-08 20:20:21 -07:00
Mitchell Hashimoto
4314ea86b3 code tweak to avoid crash 2022-05-08 20:13:53 -07:00
Mitchell Hashimoto
68aca98ba8 CUP full implementation with tests 2022-05-08 20:08:44 -07:00
Mitchell Hashimoto
7e77c6b369 terminal implement clear screen and set cursor, needs tests 2022-05-08 16:08:07 -07:00
Mitchell Hashimoto
8e907a3522 terminal: pass intermediates through to CSI, ignore NUL 2022-05-08 15:02:24 -07:00
Mitchell Hashimoto
468f6e2b51 implement basic CSI dispatch action 2022-05-08 14:44:47 -07:00
Mitchell Hashimoto
e9cabefe20 envrc: use nix, nix flakes messes up env in a way that breaks shells 2022-05-06 01:02:35 -07:00
Mitchell Hashimoto
aaf160f38b set refresh callback for redraw 2022-05-04 11:16:30 -07:00
Mitchell Hashimoto
b6bf0a329c update zig 2022-05-04 11:11:25 -07:00
Mitchell Hashimoto
700124ea8e use nix-direnv 2022-05-04 09:41:08 -07:00
Mitchell Hashimoto
1063d8ba8b tracy: not enabled if root doesn't export tracy_enabled 2022-05-03 22:03:10 -07:00
Mitchell Hashimoto
31214d16ed Add task to initialize repo 2022-05-03 22:01:19 -07:00
Mitchell Hashimoto
c0957dfc39 slow it down a bit more under load 2022-05-01 16:02:33 -07:00
Mitchell Hashimoto
a95e72eced fix release mode builds by building parse table 2022-04-29 20:02:22 -07:00
Mitchell Hashimoto
308050dc7d only update cells in the render call 2022-04-29 19:47:17 -07:00
Mitchell Hashimoto
e0a6836cbd Update comments 2022-04-29 19:28:04 -07:00
Mitchell Hashimoto
dcf0194a2f max_timer: don't call callback in the same tick anymore 2022-04-29 19:27:52 -07:00
Mitchell Hashimoto
49f28b3bb7 have to use an async handle to wake up event loop for max timer 2022-04-29 19:24:17 -07:00
Mitchell Hashimoto
bb01357c42 Move the render to a timer that slows down under load 2022-04-29 19:21:06 -07:00
Mitchell Hashimoto
b0aa222e58 libuv: Embed now uses a mutex + cond var 2022-04-29 19:20:47 -07:00
Mitchell Hashimoto
e1a58c5cbc libuv: add more APIs 2022-04-29 19:19:51 -07:00
Mitchell Hashimoto
f11531bc3f libuv: add Cond, Mutex 2022-04-29 18:49:36 -07:00
Mitchell Hashimoto
ebec508da5 libuv: Loop.now 2022-04-29 17:07:48 -07:00