Mitchell Hashimoto
782ddfe722
--config-file to load a config file
...
The config file is just CLI args one per line.
2022-08-01 18:04:39 -07:00
Mitchell Hashimoto
bf526fb217
cli: support multiple calls into parse without clobbering arena
2022-08-01 12:57:57 -07:00
Mitchell Hashimoto
0249f3c174
cli parsing supports modification, add "RepeatableString" as example
...
This lets values modify themselves, which we use to make a repeatable
string implementation. We will use this initially to specify config
files to load.
2022-08-01 11:54:51 -07:00
Mitchell Hashimoto
2453b40e5d
log glfw errors globally
2022-07-26 13:05:57 -07:00
Mitchell Hashimoto
28acd99d7d
reset inverse attribute
2022-07-26 09:37:52 -07:00
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
6369f1f2f9
big improvements in action logging
2022-07-24 09:20:02 -07:00
Mitchell Hashimoto
4a9b8ea187
add a formatter for CSI logs so that they're more easy to read
2022-07-23 18:13:37 -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
3dbe9cba43
clean up unreachables with log statements
2022-07-22 13:54:16 -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
6641fcbd4c
add --font-size flag for font size in pixels
2022-07-21 21:35:49 -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
da622abd77
don't draw cursor on scroll
2022-07-12 21:10:35 -07:00
Mitchell Hashimoto
dcc5fe34cf
typing jumps scroll to bottom
2022-07-12 21:07:58 -07:00
Mitchell Hashimoto
45992ff9c9
defining some terms, prepare to have helpers for active vs history
2022-07-11 07:55:10 -07:00
Mitchell Hashimoto
7213bfb14a
disable debug
2022-07-11 07:19:24 -07:00
Mitchell Hashimoto
07d5e3c588
scroll down with no scrollback fixes
2022-07-11 06:53:21 -07:00
Mitchell Hashimoto
f602d09d5d
hook up scrolling, kind of works, kind of broke
2022-07-10 17:04:19 -07:00
Mitchell Hashimoto
67d6114202
can scroll to bottom
2022-07-10 16:30:27 -07:00
Mitchell Hashimoto
a09b87bc9e
scroll with delta no grow
2022-07-10 15:54:32 -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
0fc9c956c4
better tests around scrollback
2022-07-10 14:52:35 -07:00
Mitchell Hashimoto
afd47eb10c
start building in "scrolling" of sorts
2022-07-10 14:45:43 -07:00
Mitchell Hashimoto
5606bec8b8
add constants for 132 col mode but don't implement
2022-07-08 17:49:09 -07:00
Mitchell Hashimoto
4b6968e0d1
enable/disable autowrap
2022-07-08 17:43:52 -07:00
Mitchell Hashimoto
79f684ab0f
disable action debug
2022-07-08 17:38:50 -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
d15ab77c3a
handle inversion with screen inversion properly
2022-06-30 10:12:46 -07:00
Mitchell Hashimoto
527d8baaa0
invert attribute
2022-06-30 10:05:47 -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
d5b018349c
add bold font, doesn't work yet
2022-06-28 10:52:59 -07:00
Mitchell Hashimoto
385a682b24
move towards font family management to prep for bold/italic
2022-06-28 10:31:11 -07:00
Mitchell Hashimoto
e325ea1616
parse more SGR attrs
2022-06-26 17:37:08 -07:00
Mitchell Hashimoto
bcc6b7604d
fix paste outputting "v"
2022-06-26 16:39:48 -07:00
Mitchell Hashimoto
fae36f4e65
reverse colors
2022-06-26 11:56:15 -07:00