3134 Commits

Author SHA1 Message Date
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
Mitchell Hashimoto
0bdc84bd6e Merge pull request #630 from mitchellh/update-zig
update zig
2023-10-07 09:33:30 -07:00
Mitchell Hashimoto
b927760149 terminal: HPR, VPR 2023-10-07 09:32:58 -07:00
Mitchell Hashimoto
01e1a79386 website: HPA, VPA 2023-10-07 09:24:27 -07:00
Mitchell Hashimoto
f5a5de15cc terminal: HPA, VPA 2023-10-07 09:22:13 -07:00
Mitchell Hashimoto
28f6379453 terminal: CUP respects left/right scroll region 2023-10-07 09:17:00 -07:00
Mitchell Hashimoto
568fd3c163 website: cup 2023-10-07 09:09:10 -07:00
Mitchell Hashimoto
c089c37b90 terminal: CUF handles right margin 2023-10-07 08:42:08 -07:00
Mitchell Hashimoto
4750a92bb4 update zig 2023-10-07 08:24:25 -07:00
Mitchell Hashimoto
5be96f34cd Merge pull request #629 from mitchellh/xt-cuu
xterm audit: cursor up (CUU)
2023-10-06 22:46:46 -07:00
Mitchell Hashimoto
9b7c778e55 terminal: cursor up respects scroll margins 2023-10-06 22:41:40 -07:00
Mitchell Hashimoto
5ef5899500 Merge pull request #628 from mitchellh/xt-ich
xterm audit: insert characters (ICH)
2023-10-06 22:28:58 -07:00
Mitchell Hashimoto
78d69c6cdb website: ich split multi-cell 2023-10-06 22:23:08 -07:00
Mitchell Hashimoto
f73a4f7393 website: ich 2023-10-06 22:08:39 -07:00