189 Commits

Author SHA1 Message Date
Mitchell Hashimoto
d36bf5195c scroll down behaves correctly 2022-07-10 14:58:10 -07:00
Mitchell Hashimoto
afd47eb10c start building in "scrolling" of sorts 2022-07-10 14:45:43 -07:00
Mitchell Hashimoto
4b6968e0d1 enable/disable autowrap 2022-07-08 17:43:52 -07:00
Mitchell Hashimoto
4cc38e7281 implement auto-wrap, always enabled for now (ignores mode 7) 2022-07-08 17:37:22 -07:00
Mitchell Hashimoto
f53efa633a initial underline support, can be improved 2022-06-28 14:22:25 -07:00
Mitchell Hashimoto
75b9d1cb84 bold font rendering 2022-06-28 13:44:20 -07:00
Mitchell Hashimoto
e325ea1616 parse more SGR attrs 2022-06-26 17:37:08 -07:00
Mitchell Hashimoto
fae36f4e65 reverse colors 2022-06-26 11:56:15 -07:00
Mitchell Hashimoto
4753b64690 fix test 2022-06-26 10:10:08 -07:00
Mitchell Hashimoto
b42c54e964 fix tabstops off by one 2022-06-25 11:08:20 -07:00
Mitchell Hashimoto
245b9642f9 save and restore cursor 2022-06-25 10:56:41 -07:00
Mitchell Hashimoto
090e580cc7 setting and clearing tab stops 2022-06-24 18:15:14 -07:00
Mitchell Hashimoto
4661b73d01 NEL next line 2022-06-24 17:55:38 -07:00
Mitchell Hashimoto
51b2786a3b hook up IND index 2022-06-24 17:53:17 -07:00
Mitchell Hashimoto
55db659d2b basic "index" implementation 2022-06-24 17:47:43 -07:00
Mitchell Hashimoto
52c5af9228 erase line complete 2022-06-24 10:02:50 -07:00
Mitchell Hashimoto
e8ce48c8d9 erase display above 2022-06-24 09:57:07 -07:00
Mitchell Hashimoto
83377c7470 decaln 2022-06-24 09:31:55 -07:00
Mitchell Hashimoto
df89dd08e1 support set top/bottom margin with zero params 2022-06-22 16:37:38 -07:00
Mitchell Hashimoto
7dbe6b941e origin mode set cursor pos 2022-06-22 16:06:48 -07:00
Mitchell Hashimoto
a7e0bb04ea on resize, set the terminal cursor to max 2022-05-23 15:25:22 -07:00
Mitchell Hashimoto
b9c93b9017 add todo for reflow 2022-05-22 14:48:07 -07:00
Mitchell Hashimoto
90f3e36e13 scren resize 2022-05-22 14:47:54 -07:00
Mitchell Hashimoto
3b7272ef57 fix bugs 2022-05-21 20:55:32 -07:00
Mitchell Hashimoto
b47f2e6eef fixing more bugs 2022-05-21 20:39:20 -07:00
Mitchell Hashimoto
02962d1437 clear the last line when we scroll up 2022-05-21 19:13:01 -07:00
Mitchell Hashimoto
acd45efe64 more efficient eraseLines 2022-05-21 18:58:53 -07:00
Mitchell Hashimoto
9a48d0498d make erase a bit more efficient 2022-05-21 18:55:55 -07:00
Mitchell Hashimoto
c5fbe439f8 scroll can be a multiple of row count 2022-05-21 18:53:08 -07:00
Mitchell Hashimoto
117cc5c5f1 various fixes 2022-05-21 17:45:33 -07:00
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