Mitchell Hashimoto
01c053d7fc
terminal: parser must reset intermediate storage for utf8
2023-03-24 14:47:03 -07:00
Mitchell Hashimoto
38cd496c82
terminal: add missing anywhere states to ground, get rid of real state
2023-03-17 13:46:59 -07:00
Mitchell Hashimoto
df52fae76a
terminal: check OSC parser for tmux 112 sequences from HN
...
Saw this on HN:
https://github.com/darrenstarr/VtNetCore/pull/14
I wanted to see if ghostty was vulnerable to it (it is not). But, its a
good example of a weird edge case in the wild and I wanted to make sure
it was redundantly tested. It looks like we read the "spec" (blog posts,
man pages, source of other terminal using tools, etc.) right.
2023-01-17 21:47:38 -08:00
Mitchell Hashimoto
4a3e2b35b9
terminal: parse table needs to have room for all chars
2022-12-14 21:10:22 -08:00
Mitchell Hashimoto
d7fe6a1c47
fix sgr parsing for underline styles
2022-11-27 15:30:02 -08:00
Mitchell Hashimoto
56de5846f4
OSC 52: Clipboard Control ( #52 )
...
This adds support for OSC 52 -- applications can read/write the clipboard. Due to the security risk of this, the default configuration allows for writing but _not reading_. This is configurable using two new settings: `clipboard-read` and `clipboard-write` (both booleans).
2022-11-21 15:12:00 -08:00
Mitchell Hashimoto
30a14d230e
process ASCII events manually to avoid function call overhead
2022-09-01 17:53:40 -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
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
21be62f780
terminal parser allows colons for SGR
2022-05-11 21:20:04 -07:00
Mitchell Hashimoto
daa0368319
parse DCS sequences (but do nothing)
2022-05-10 14:09:24 -07:00
Mitchell Hashimoto
bb4332ac38
terminal: OSC parser
2022-05-10 09:27:29 -07:00
Mitchell Hashimoto
c0c034af68
terminal: collect intermediates properly
2022-05-09 12:55:09 -07:00
Mitchell Hashimoto
86ab28cf10
esc dispatch is handled in parser
2022-05-08 20:52:15 -07:00
Mitchell Hashimoto
fd0fa1d08b
implement erase line (EL) CSI
2022-05-08 20:20:21 -07:00
Mitchell Hashimoto
8e907a3522
terminal: pass intermediates through to CSI, ignore NUL
2022-05-08 15:02:24 -07:00
Mitchell Hashimoto
468f6e2b51
implement basic CSI dispatch action
2022-05-08 14:44:47 -07:00
Mitchell Hashimoto
20f9ad3f55
implement basic VT parser -- only print/execute handled
2022-04-18 11:01:47 -07:00
Mitchell Hashimoto
8d389b4ea9
initial VT emulation table
2022-04-18 09:38:52 -07:00