5828 Commits

Author SHA1 Message Date
Mitchell Hashimoto
cb267f4302 unknown glyph renders a space 2022-05-16 09:48:32 -07:00
Mitchell Hashimoto
421a1c3039 invalid utf8 turns into � 2022-05-16 09:34:34 -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
7d2b722066 use queueWrite helper 2022-05-15 20:30:31 -07:00
Mitchell Hashimoto
d5858dd0cd respond to ESC [ c for primary attributes 2022-05-15 20:04:14 -07:00
Mitchell Hashimoto
0d30cc1656 panic on unimplemented 2022-05-13 09:16:00 -07:00
Mitchell Hashimoto
00e49dccc1 hook up insertLines 2022-05-13 09:14:32 -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
3a68d79d83 always draw cell bg if it has one even if no char 2022-05-12 16:46:05 -07:00
Mitchell Hashimoto
89533f4754 connect fg/bg of cell to renderer 2022-05-12 16:39:56 -07:00
Mitchell Hashimoto
ccaf75193b connect setAttribute 2022-05-12 16:34:38 -07:00
Mitchell Hashimoto
8400b683c4 sgr parsing can parse multiple 2022-05-12 16:20:30 -07:00
Mitchell Hashimoto
5743d2a232 terminal sgr attribute parsing 2022-05-11 21:40:54 -07:00
Mitchell Hashimoto
21be62f780 terminal parser allows colons for SGR 2022-05-11 21:20:04 -07:00
Mitchell Hashimoto
90e28dd0f7 quiet 2022-05-11 18:11:30 -07:00
Mitchell Hashimoto
b528208dfd hook up delete lines 2022-05-11 17:55:28 -07:00
Mitchell Hashimoto
8a0d7a3494 implement delete line 2022-05-11 17:53:55 -07:00
Mitchell Hashimoto
12ee4ea7e8 set top and bottom margins full hookup 2022-05-11 10:11:30 -07:00
Mitchell Hashimoto
df7e91a5e5 hook up setMode 2022-05-11 10:07:33 -07:00
Mitchell Hashimoto
b2d02a77cd terminal stream set mode and reset mode 2022-05-11 10:02:32 -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
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
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