Mitchell Hashimoto
85a9e6fdf0
fix an off by one in set cursor pos
2022-07-25 17:03:20 -07:00
Mitchell Hashimoto
a239098883
index should return after handling bottom-most line in scroll region
2022-07-25 08:08:23 -07:00
Mitchell Hashimoto
d81bb19af6
fix crash we can get with horizontal tabs off the end of the screen
2022-07-24 16:33:57 -07:00
Mitchell Hashimoto
5c8c9d8e3c
support DECCOLM
...
This gets vttest page 1 and page 2 now FULL passing.
We now crash on page 3. This is a lingering bug in our grid code
though and we need to find it anyways so we'll keep the crash in.
2022-07-24 16:06:04 -07:00
Mitchell Hashimoto
a3409ac70d
erase line left should include cursor position
2022-07-24 09:53:21 -07:00
Mitchell Hashimoto
a43c63111f
count = 0 implies 1 for all cursor movement, fixes one line of vttest
2022-07-24 09:38:38 -07:00
Mitchell Hashimoto
dfde2acf10
on resize, make sure we resize the alt screen too
2022-07-22 14:22:53 -07:00
Mitchell Hashimoto
855a71d55c
quiet noisy log
2022-07-22 13:45:51 -07:00
Mitchell Hashimoto
d672bedec7
alternate screen buffer (mode 1049) now supported
2022-07-22 13:36:16 -07:00
Mitchell Hashimoto
5564bd7213
cursor belongs to screen (prep for alternate screen)
2022-07-22 13:08:40 -07:00
Mitchell Hashimoto
f445de7568
CSI: Insert Blanks (ESC [ n @)
2022-07-22 09:58:39 -07:00
Mitchell Hashimoto
fbd79ee585
comment to be clear
2022-07-17 10:06:17 -07:00
Mitchell Hashimoto
baf2f9c1de
index (IND) handles scroll up properly with a scrolling region set
...
This makes vttest slightly closer.
2022-07-15 17:01:03 -07:00
Mitchell Hashimoto
8dbb6343f4
KIND OF handle mode 3 (132 col mode)
...
This gets vttest looking slightly better on test 1, page 4. It still
isn't correct but we're looking better.
2022-07-15 09:34:17 -07:00
Mitchell Hashimoto
1f12577b8c
use packed struct for modes
2022-07-15 09:18:54 -07:00
Mitchell Hashimoto
3655609886
fix tab behavior, should not print
2022-07-14 13:43:38 -07:00
Mitchell Hashimoto
dcc5fe34cf
typing jumps scroll to bottom
2022-07-12 21:07:58 -07:00
Mitchell Hashimoto
f602d09d5d
hook up scrolling, kind of works, kind of broke
2022-07-10 17:04:19 -07:00
Mitchell Hashimoto
9f3e6344cc
fix build
2022-07-10 15:49:17 -07:00
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