3345 Commits

Author SHA1 Message Date
Mitchell Hashimoto
84a9339aea Merge pull request #678 from mitchellh/vs16
terminal: VS16 should make a narrow char take up two cells
2023-10-14 10:46:46 -07:00
Mitchell Hashimoto
59140f593b terminal: VS16 should make a narrow char take up two cells in mode 2027 2023-10-14 10:43:50 -07:00
Mitchell Hashimoto
529d1f016f terminal: when clearing previous wide character, preserve SGR state 2023-10-13 15:15:14 -07:00
Mitchell Hashimoto
8fe722686d Merge pull request #671 from mitchellh/sprite-width
Fix cursor width, underline width with wide chars
2023-10-13 14:52:36 -07:00
Mitchell Hashimoto
880252fd1d terminal: printing over wide spacer tail should clear wide char 2023-10-13 14:45:40 -07:00
Mitchell Hashimoto
4f5a05e087 renderer: render cursor over wide character if on tail part 2023-10-13 14:39:10 -07:00
Mitchell Hashimoto
7995d44cfb font: render sprites with a configurable grid cell width
Fixes #666
2023-10-13 14:31:55 -07:00
Mitchell Hashimoto
d66d2c8827 Merge pull request #670 from mitchellh/font-fallbakc
font: fallback search should search full discovery chain
2023-10-13 12:29:59 -07:00
Mitchell Hashimoto
1411015038 font: fallback search should search full discovery chain
Fixes #668

We were previously only checking the first font result in the search.
This also fixes our CoreText scoring algorithm to prioritize faces that
have the codepoint we're searching for.
2023-10-13 12:25:27 -07:00
Mitchell Hashimoto
00b7625694 Merge pull request #665 from mitchellh/linefeed
terminal: linefeed mode
2023-10-12 20:51:05 -07:00
Mitchell Hashimoto
5ce50d08a1 terminal: linefeed mode 2023-10-12 20:46:26 -07:00
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