393 Commits

Author SHA1 Message Date
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
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
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
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
0c417027ef jank wrap handling (by not wrapping at all) 2022-04-28 21:40:10 -07:00
Mitchell Hashimoto
cbd6505d25 terminal: scrolling 2022-04-28 21:18:27 -07:00
Mitchell Hashimoto
f44649476d horizontal tab off by one, add unit tests 2022-04-27 21:06:28 -07:00
Mitchell Hashimoto
53702343c2 ctrl-l is form feed 2022-04-27 20:57:43 -07:00
Mitchell Hashimoto
516e500b76 fix some miscalculations with tabstops, add test 2022-04-27 20:43:10 -07:00
Mitchell Hashimoto
15a816f863 horizontal tab, implement tabstops using a default value 2022-04-27 20:21:34 -07:00
Mitchell Hashimoto
3857e7f519 don't crash on htab, but its not implemented yet 2022-04-27 09:30:39 -07:00
Mitchell Hashimoto
2767f19ced bell doesn't crash 2022-04-27 09:12:23 -07:00
Mitchell Hashimoto
e9661fa55e render multiple lines 2022-04-19 08:42:37 -07:00
Mitchell Hashimoto
2e46612bc7 attach a terminal to the window, start hinting at renderer hookup 2022-04-18 14:12:35 -07:00
Mitchell Hashimoto
753a946fd5 terminal: C0.BS 2022-04-18 12:35:15 -07:00
Mitchell Hashimoto
fc8bd859db terminal: writing strings and multiline strings starting to work 2022-04-18 12:21:50 -07:00
Mitchell Hashimoto
20f9ad3f55 implement basic VT parser -- only print/execute handled 2022-04-18 11:01:47 -07:00
Mitchell Hashimoto
94f3c5e490 comment 2022-04-18 09:41:04 -07:00
Mitchell Hashimoto
8d389b4ea9 initial VT emulation table 2022-04-18 09:38:52 -07:00
Mitchell Hashimoto
dc788ce5b2 terminal stuff 2022-04-17 09:40:09 -07:00