Mitchell Hashimoto
bfc657395a
curly underlines
2022-11-27 16:11:15 -08:00
Mitchell Hashimoto
c2d08c3071
terminal: parse all underline styles
2022-11-27 15:39:12 -08:00
Mitchell Hashimoto
5045e51b99
unknown underline styles render a single underline
2022-11-27 15:30:49 -08:00
Mitchell Hashimoto
d7fe6a1c47
fix sgr parsing for underline styles
2022-11-27 15:30:02 -08:00
Mitchell Hashimoto
584149121d
use enum for underline styles
2022-11-27 14:16:51 -08:00
Mitchell Hashimoto
feccd550c3
implement many more reset sgr attributes
2022-11-13 21:54:26 -08:00
Mitchell Hashimoto
c1a9184ebd
sgr: parse italic (render not implemented)
2022-11-07 14:04:40 -08:00
Mitchell Hashimoto
b18309187e
Strikethrough ( #19 )
...
Not as straightforward as it sounds, but not hard either:
* Read OS/2 sfnt tables from TrueType fonts
* Calculate strikethrough position/thickness (prefer font-advertised if possible, calculate if not)
* Plumb the SGR code through the terminal state -- does not increase cell memory size
* Modify the shader to support it
The shaders are getting pretty nasty after this... there's tons of room for improvement. I chose to follow the existing shader style for this to keep it straightforward but will likely soon refactor the shaders.
2022-10-06 15:03:19 -07:00
Mitchell Hashimoto
8ff98446a9
sgr parsing bright colors now sets color properly
2022-08-27 10:55:10 -07:00
Mitchell Hashimoto
dc6fc5c1c3
implement faint colors (SGR 2)
2022-08-26 11:13:34 -07:00
Mitchell Hashimoto
4ffd5cd994
SGR 39/49 (reset fg/bg, respectively)
2022-08-26 09:56:17 -07:00
Mitchell Hashimoto
a1130095f8
note charsets are TODO
2022-08-26 09:27:51 -07:00
Mitchell Hashimoto
28acd99d7d
reset inverse attribute
2022-07-26 09:37:52 -07:00
Mitchell Hashimoto
e325ea1616
parse more SGR attrs
2022-06-26 17:37:08 -07:00
Mitchell Hashimoto
16d4648cf6
implement bright fg/bg
2022-05-19 21:32:00 -07:00
Mitchell Hashimoto
29f88968e9
mistake calculated background
2022-05-19 21:29:49 -07:00
Mitchell Hashimoto
69365b944c
implement named 8 colors sgr
2022-05-19 21:29:06 -07:00
Mitchell Hashimoto
043e29b885
sgr parse bold and 256 fg/bg
2022-05-19 20:47:30 -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