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
Mitchell Hashimoto
f64ed7441c
Merge pull request #643 from mitchellh/sd
...
xterm audit: SD, TBC, DECID
2023-10-09 10:06:46 -07:00
Mitchell Hashimoto
fc08f9ab17
terminal: TBC tests
2023-10-09 10:01:23 -07:00
Mitchell Hashimoto
ed23f2f1d0
terminal: implement DECID (ESC Z)
2023-10-09 09:43:28 -07:00
Mitchell Hashimoto
773104d343
terminal: scroll down tests
2023-10-09 09:40:28 -07:00
Mitchell Hashimoto
d0b8bf7752
terminal: enable alternate scroll mode by default
...
Fixes #641
xterm does not so there is an argument to not doing this but a lot of
other terminals do. Having this on by default makes things like less
scroll with the mouse wheel by default which is nice to have.
2023-10-09 09:23:39 -07:00
Mitchell Hashimoto
dbd15c80a6
Merge pull request #642 from gpanders/new-window-no-tabs
...
macos: force new window for "New Window" action
2023-10-09 09:19:50 -07:00
Gregory Anders
4681b95bb3
macos: force new window for "New Window" action
...
There is a setting in the macOS System Preferences called "Prefer tabs
when opening documents" (accessed through the userTabbingPreference
field of NSWindow) which, when set to "Always", makes the "New Window"
action open windows in tabs.
Ideally, this setting would be controlled on a per-app basis in macOS,
but unfortunately that is not the case. Because Ghostty explicitly
offers both "New Tab" and "New Window" actions, this user setting should
be ignored when creating new windows.
2023-10-09 09:20:52 -05:00
Mitchell Hashimoto
57a86e3bd7
Merge pull request #640 from mitchellh/dch
...
xterm audit: dch
2023-10-08 22:33:09 -07:00
Mitchell Hashimoto
60f0e9289a
terminal: dch xterm audit
2023-10-08 22:16:35 -07:00
Mitchell Hashimoto
33ce2c29ea
Merge pull request #639 from mitchellh/il
...
xterm audit: insert line (IL), delete line (DL)
2023-10-08 21:40:32 -07:00
Mitchell Hashimoto
1176b65a95
terminal: test IND preserves background sgr
2023-10-08 21:39:29 -07:00
Mitchell Hashimoto
4b9560aa31
terminal: DL
2023-10-08 21:28:41 -07:00
Mitchell Hashimoto
76bbb7c361
terminal: insert lines (IL) handles left/right scroll regions
2023-10-08 20:51:00 -07:00
Mitchell Hashimoto
38f968e368
terminal: IL preserves bg sgr, partial left/right margin support
2023-10-08 15:27:09 -07:00
Mitchell Hashimoto
dace9b5da2
website: IL
2023-10-08 15:25:28 -07:00
Mitchell Hashimoto
710a2dfbc0
Merge pull request #638 from mitchellh/ed
...
xterm audit: ED
2023-10-08 15:25:03 -07:00
Mitchell Hashimoto
eab390344a
terminal: ED xterm audit
...
Fix multi-cell handling
Test all scenarios
2023-10-08 14:48:06 -07:00
Mitchell Hashimoto
e618f536ea
Merge pull request #637 from mitchellh/el
...
terminal: EL (erase line) xterm audit
2023-10-08 09:25:40 -07:00
Mitchell Hashimoto
02b134f97e
terminal: EL (erase line) xterm audit
...
Fix multi-cell char handling
Fix bg SGR respecting in non-protected cases
Fix protected attribute logic
2023-10-08 09:03:04 -07:00
Mitchell Hashimoto
4301760384
Merge pull request #636 from mitchellh/ech
...
xterm audit: ECH
2023-10-07 22:44:42 -07:00
Mitchell Hashimoto
fa73fa0de2
terminal: ECH handles protection attributes properly
2023-10-07 22:36:29 -07:00
Mitchell Hashimoto
514071dd87
terminal: ECH tests with bg and multi-cell fix
2023-10-07 22:21:38 -07:00
Mitchell Hashimoto
1a127dbe01
website: ech
2023-10-07 22:05:58 -07:00
Mitchell Hashimoto
4c3a874cac
Merge pull request #635 from mitchellh/modules
...
Remove Remaining Git Submodules
2023-10-07 15:47:38 -07:00
Mitchell Hashimoto
17032632cf
pkg/apple-sdk: do not git clone anymore
2023-10-07 15:31:17 -07:00
Mitchell Hashimoto
92a0c6b447
README: remove make
2023-10-07 14:56:29 -07:00
Mitchell Hashimoto
0aa44e7e9f
Makefile doesn't need to init submodules anymore
2023-10-07 14:55:31 -07:00
Mitchell Hashimoto
c708b5a384
ci: do not checkout submodules, because none exist
2023-10-07 14:53:17 -07:00
Mitchell Hashimoto
f31d473512
remove harfbuzz submodule
2023-10-07 14:51:45 -07:00
Mitchell Hashimoto
8ec6828713
pkg/harfbuzz: download source using zig package manager
2023-10-07 14:51:25 -07:00
Mitchell Hashimoto
965fabeb6e
remove libxml2 submodule
2023-10-07 14:48:56 -07:00
Mitchell Hashimoto
6e550bbd6b
pkg/libxml2: download using zig package manager
2023-10-07 14:48:41 -07:00
Mitchell Hashimoto
d8da67fbcf
Merge pull request #634 from mitchellh/alt-scroll
...
Alternate scroll disabled by default, only sends up/down
2023-10-07 14:31:20 -07:00
Mitchell Hashimoto
f640fbc394
core: alternate scroll only sends up/down arrows, not left/right
2023-10-07 14:26:39 -07:00
Mitchell Hashimoto
d85baa4631
terminal: alternate scroll (mode 1007) should not be enabled by default
2023-10-07 14:26:11 -07:00
Mitchell Hashimoto
90dcf1b7a8
Revert "termio: clear screen always sends form feed (0x0C)"
...
This reverts commit abc383854604189378bfe61239c14f263f7a14de.
See #623
2023-10-07 13:58:07 -07:00
Mitchell Hashimoto
6437e43a27
Merge pull request #631 from mitchellh/xt-cuf
...
xterm audit: CUF, CUP, HPA, VPA, HPR, VPR
2023-10-07 09:44:51 -07:00