59 Commits

Author SHA1 Message Date
Mitchell Hashimoto
c749371bae switch to new screen, bugs! 2022-05-21 16:42:55 -07:00
Mitchell Hashimoto
da1e42de1a Terminal: switch to new screen, passing tests (not full coverage) 2022-05-21 16:36:28 -07:00
Mitchell Hashimoto
16d4648cf6 implement bright fg/bg 2022-05-19 21:32:00 -07:00
Mitchell Hashimoto
69365b944c implement named 8 colors sgr 2022-05-19 21:29:06 -07:00
Mitchell Hashimoto
2309e7ffda support 256 color palette setting 2022-05-19 21:23:39 -07:00
Mitchell Hashimoto
31d019da9e terminal: color palette structure and generation 2022-05-19 21:21:52 -07:00
Mitchell Hashimoto
58b18a26f5 cursor left 2022-05-19 15:56:06 -07:00
Mitchell Hashimoto
751f97220e terminal: implement resizing in a basic way 2022-05-16 11:02:33 -07:00
Mitchell Hashimoto
ead4cec159 terminal: utf-8 decoding 2022-05-16 09:31:07 -07:00
Mitchell Hashimoto
5d34f171a0 insertLines with scroll region support 2022-05-15 21:17:27 -07:00
Mitchell Hashimoto
0d30cc1656 panic on unimplemented 2022-05-13 09:16:00 -07:00
Mitchell Hashimoto
b764f502ee terminal: insertLines 2022-05-13 09:12:54 -07:00
Mitchell Hashimoto
998a36a1c5 eraseChars respects pen 2022-05-12 21:32:57 -07:00
Mitchell Hashimoto
fc3fac971a eraseDisplay honors sgr 2022-05-12 21:19:02 -07:00
Mitchell Hashimoto
db3f760a1d typo on the rgb... 2022-05-12 20:56:02 -07:00
Mitchell Hashimoto
2be8721e54 eraseline sets SGR on all cells 2022-05-12 16:51:26 -07:00
Mitchell Hashimoto
ccaf75193b connect setAttribute 2022-05-12 16:34:38 -07:00
Mitchell Hashimoto
8a0d7a3494 implement delete line 2022-05-11 17:53:55 -07:00
Mitchell Hashimoto
df7e91a5e5 hook up setMode 2022-05-11 10:07:33 -07:00
Mitchell Hashimoto
5a85546b2e terminal: setScrollingRegion 2022-05-11 09:00:02 -07:00
Mitchell Hashimoto
2c0fbfccc6 implement CUD, CUU 2022-05-10 19:42:00 -07:00
Mitchell Hashimoto
46d160cfdd terminal doesn't need parser anymore 2022-05-10 19:34:14 -07:00
Mitchell Hashimoto
e26352529e move stream handling into the Window 2022-05-10 19:31:32 -07:00
Mitchell Hashimoto
e172cffd4d modify terminal tests to avoid append 2022-05-10 19:06:50 -07:00
Mitchell Hashimoto
de7d950052 terminal: move tests into main 2022-05-10 14:40:37 -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
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
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