3234 Commits

Author SHA1 Message Date
Mitchell Hashimoto
8c61f8d890 Merge pull request #664 from mitchellh/kam
xterm audit: ANSI modes 2 (KAM), 4 (INSERT), 12 (SRM)
2023-10-12 19:43:01 -07:00
Mitchell Hashimoto
853c0427e6 website: document srm mode 2023-10-12 19:38:06 -07:00
Mitchell Hashimoto
89d2827910 terminal: insert mode tests, fix insertBlanks multi-cell char split 2023-10-12 19:24:27 -07:00
Mitchell Hashimoto
6a065540dd terminal: KAM (mode 2)
This has an associated config `vt-kam-allowed` which defaults to "false"
since this mode can cause the terminal to become mostly unusable. We
include this mode for completions sake however.
2023-10-12 17:07:47 -07:00
Mitchell Hashimoto
f5a80f6b98 Merge pull request #662 from mitchellh/legacy-sides
input: legacy encoding pc style keys should ignore directional modifiers
2023-10-12 12:34:00 -07:00
Mitchell Hashimoto
d97e5b9dab input: legacy encoding pc style keys should ignore directional modifiers 2023-10-12 12:28:26 -07:00
Mitchell Hashimoto
f402ca140c Merge pull request #660 from mitchellh/ind-lr
terminal: index handles left/right regions
2023-10-12 08:31:39 -07:00
Mitchell Hashimoto
17430a1250 terminal: index handles left/right regions 2023-10-12 08:31:28 -07:00
Mitchell Hashimoto
bf91367db9 Merge pull request #659 from mitchellh/xterm-stuff
xterm audit: REP, XTSHIFTESCAPE
2023-10-11 22:09:26 -07:00
Mitchell Hashimoto
f94f32be79 website 2023-10-11 22:01:37 -07:00
Mitchell Hashimoto
392da475e1 terminal: XTSHIFTESCAPE 2023-10-11 21:49:04 -07:00
Mitchell Hashimoto
f7cc5ccdd6 config: add mouse-shift-capture configuration 2023-10-11 21:38:52 -07:00
Mitchell Hashimoto
96546af475 terminal: test REP 2023-10-11 17:23:27 -07:00
Mitchell Hashimoto
d6f7b45a64 Merge pull request #656 from mitchellh/enable-lr
Enable Left/Right Margin Mode
2023-10-10 16:26:30 -07:00
Mitchell Hashimoto
e593ffa264 terminal: default for right scroll margin was incorrect 2023-10-10 16:06:27 -07:00
Mitchell Hashimoto
0d2bfacd5b terminfo: add left/right margin entries 2023-10-10 15:59:24 -07:00
Mitchell Hashimoto
a9fee348b6 terminal: print handles left/right margins 2023-10-10 15:41:31 -07:00
Mitchell Hashimoto
73ecb6f7ee terminal: CUL handles left/right margins 2023-10-10 15:26:04 -07:00
Mitchell Hashimoto
0c2bf94b13 Enable left/right margin support 2023-10-10 15:21:45 -07:00
Mitchell Hashimoto
1af3e4219a Merge pull request #654 from phinze/doc-terminfo-ssh
Document terminfo & SSH details
2023-10-10 15:20:07 -07:00
Mitchell Hashimoto
42dc244b1d prettier 2023-10-10 15:19:49 -07:00
Mitchell Hashimoto
71d8875043 Merge pull request #655 from mitchellh/xterm-stuff
xterm audit: CNL, CPL, NEL, RI, HTS
2023-10-10 15:19:16 -07:00
Mitchell Hashimoto
fbc305c901 terminal: reverse index xterm audit 2023-10-10 15:15:53 -07:00
Paul Hinze
31d22f45af Document terminfo & SSH details
Adds information to the README to inform users about strategies and
workarounds for handling the lack of Ghostty's terminfo entry on remote
SSH hosts.
2023-10-10 16:55:52 -05:00
Mitchell Hashimoto
d8f2a8dff0 termio: NEL is index then CR 2023-10-10 14:37:25 -07:00
Mitchell Hashimoto
baf9d21b5e website: CNL CPL 2023-10-10 14:36:39 -07:00
Mitchell Hashimoto
2f7dc9dddf Merge pull request #653 from mitchellh/xterm-stuff
xterm audit: DECKPAM, DECKPNAM, DECSCUSR, SU, SD
2023-10-10 14:29:29 -07:00
Mitchell Hashimoto
28b7329fe4 terminal: scroll down test 2023-10-10 14:22:05 -07:00
Mitchell Hashimoto
3cc0cbcc9d terminal: SU, fix DL bug 2023-10-10 13:00:00 -07:00
Mitchell Hashimoto
7a8f2bfed6 terminal: decscusr 2023-10-10 12:24:11 -07:00
Mitchell Hashimoto
c980234cb4 website: deckpam, deckpnam 2023-10-10 12:15:04 -07:00
Mitchell Hashimoto
50fdb9dfe4 Merge pull request #652 from mitchellh/path-space
termio: unescape OSC 7 pwd since it is URL encoded
2023-10-10 11:25:19 -07:00
Mitchell Hashimoto
5d1b54eceb termio: unescape OSC 7 pwd since it is URL encoded
Fixes #621
2023-10-10 11:21:59 -07:00
Mitchell Hashimoto
2dd1903851 Merge pull request #650 from mitchellh/mouse
Mouse selection fixes around the initially clicked cell
2023-10-10 09:40:00 -07:00
Mitchell Hashimoto
e11b3465d5 update prettier ignore to ignore website dev compiled 2023-10-10 09:39:39 -07:00
Mitchell Hashimoto
a234627156 core: mouse selection to right should include first cell if past
boundary
2023-10-10 09:37:11 -07:00
Mitchell Hashimoto
a6d3d51945 core: mouse selection when moving left before half-way point
If you have a cell "M" and you click before the mid-point of M on the
left side and then drag left, we should not select "M".
2023-10-10 09:35:11 -07:00
Mitchell Hashimoto
21ec39ed5d Merge pull request #649 from mitchellh/ris-tabs
terminal: RIS should reset tabstops, ESC ? W should reset every 8
2023-10-10 09:16:38 -07:00
Mitchell Hashimoto
f216609662 terminal: RIS should reset tabstops, ESC ? W should reset every 8
Fixes #648

Two issues here:

  - RIS should've been resetting the tabstops to every 8, but was
    clearing all tabstops.

  - `ESC ? W` should've reset tabstops to every 8, but was clearing
    all tabstops.
2023-10-10 09:02:22 -07:00
Mitchell Hashimoto
9573bfccb0 website: RIS 2023-10-10 09:00:19 -07:00
Mitchell Hashimoto
04756e1a79 Merge pull request #646 from mitchellh/sm
xterm audit: DECALN, Top/Bot Margins, Left/Right Margins
2023-10-09 21:27:59 -07:00
Mitchell Hashimoto
d05e488cc4 website: left/right margins 2023-10-09 21:20:30 -07:00
Mitchell Hashimoto
2354454907 terminal: set left and right margins, left and right margin mode 69 2023-10-09 21:20:15 -07:00
Mitchell Hashimoto
be99d8ffe1 terminal: decaln 2023-10-09 20:33:52 -07:00
Mitchell Hashimoto
7cc0bbe211 terminal: set top and bottom margin tests 2023-10-09 20:08:16 -07:00
Mitchell Hashimoto
01a8013533 pkg/harfbuzz: remove accidentally committed archive file 2023-10-09 16:05:55 -07:00
Mitchell Hashimoto
cf1f59f5d9 Merge pull request #644 from mitchellh/sm
terminal: handle ansi vs dec mode
2023-10-09 16:05:32 -07:00
Mitchell Hashimoto
9c45c6a3d1 terminal: handle ansi vs dec mode
Previously, we just ignored ansi vs dec modes (`?`-prefix) and just
responded to both requests most of the time using the number as the
unique value. This _kind of works_ because almost all DEC modes do not
overlap with ANSI modes, but some overlap (i.e. `insert`, ANSI mode 4).

This commit properly separates ANSI vs DEC modes and updates all of our
terminal sequences to handle both (where applicable -- some sequences
are explicitly DEC-only).
2023-10-09 16:01:08 -07:00
Mitchell Hashimoto
5e5b1f81d3 website: add validation for sd 2023-10-09 10:56:13 -07:00
Mitchell Hashimoto
0e22e2a8dd terminal: SD should also work if cursor outside of left/right region 2023-10-09 10:53:47 -07:00