Wez Furlong
1e11895600
ci: fixup sed usage for APKs
...
Part of the directory structure is `/wezterm/something/wezterm-`
Take care not to rewrite that earlier wezterm directory to something
bogus.
2022-04-24 16:17:32 -07:00
Wez Furlong
19cfdf1aa1
macos: simplify keycode imports a little
2022-04-24 16:14:39 -07:00
Wez Furlong
81d08325c1
macos: ctrl-shift-/ also swaps chars and unmod
...
I don't like this :-/
refs: https://github.com/wez/wezterm/issues/1907
2022-04-24 16:12:44 -07:00
Wez Furlong
63414b9826
window: macos: refactor UCKeyTranslate calls
...
Makes them a little easier to follow.
This shouldn't change any behavior.
2022-04-22 22:49:26 -07:00
Wez Furlong
80fcedbf92
window: macos: remove on horrible keyboard hack
...
We can synthesize the key down for ctrl-tab in perform_key_equivalent,
so let's do that!
2022-04-22 22:43:48 -07:00
Wez Furlong
26500c675f
macOS: fix Shift-Tab
...
refs: https://github.com/wez/wezterm/issues/1902
2022-04-21 18:38:27 -07:00
Wez Furlong
55174056b9
ci: don't rebuild everything when changing no-response config
2022-04-21 08:00:24 -07:00
Wez Furlong
8f2059e580
docs for https://github.com/wez/wezterm/issues/1900
2022-04-21 07:56:35 -07:00
Wez Furlong
a4f07e6382
ci: one more tweak to no-response config
2022-04-21 07:45:22 -07:00
Wez Furlong
453381251c
macos: more weirdness with alt/shift/bracket
...
It looks like we don't need to special case left/right bracket any more;
tested with both Italian (right-alt-shift-leftbracket) and Norwegian
(right-alt-shift-9), and confirmed that right-alt-shift-grave does
produce alt-tilde.
refs: https://github.com/wez/wezterm/issues/1901
refs: https://github.com/wez/wezterm/issues/1706
refs: https://github.com/wez/wezterm/issues/760
2022-04-21 07:32:49 -07:00
Wez Furlong
2839293674
refactor: hide Screen::lines field
...
I want to make some changes to the scrollback structure that
first require routing some operations through an accessor
method, so this commit does that.
It should have no functional difference.
2022-04-21 07:14:41 -07:00
Wez Furlong
35054ed291
ci: tweak no-response config
2022-04-21 07:09:48 -07:00
Wez Furlong
e9cd0ce072
add ClearSelection
action
...
refs: https://github.com/wez/wezterm/issues/1900
2022-04-21 06:58:08 -07:00
Wez Furlong
4bc8165f53
ci: replace waiting-on-op automation
...
The old no-response bot stopped working and recommends this
alternative workflow.
2022-04-21 06:44:28 -07:00
Wez Furlong
c85fce703d
config: avoid watching and reloading for home dir changes
...
refs: #1697
refs: https://github.com/wez/wezterm/issues/1895
2022-04-21 06:34:01 -07:00
Wez Furlong
f9c4855159
procinfo: windows: tweak and add more tracing
...
Use an alternative function to query the executable path for
a target process.
Add more tracing.
refs: #1896
2022-04-20 09:43:56 -07:00
Wez Furlong
82e2743df0
docs: add centos9 stable download link
2022-04-20 07:57:25 -07:00
Wez Furlong
44925978bc
docs: add alpine to downloads
2022-04-19 23:35:21 -07:00
Wez Furlong
924b63eb42
macos: fixup Backspace key
...
refs: https://github.com/wez/wezterm/issues/1891#issuecomment-1103501418
2022-04-19 23:24:36 -07:00
Kouhei Yanagita
bebad33298
docs: fix typo
2022-04-19 21:21:56 -07:00
Wez Furlong
6152bc0e41
ci: disambiguate the different alpine artifact versions
...
We were uploading all the packages as `wezterm-20220419.075038-r0.apk`
regardless of the alpine version.
Also, what we upload to the nightly release must not include a version
number, otherwise the release will hold an unbounded number of versions!
2022-04-19 21:18:36 -07:00
Wez Furlong
fb635c4362
feed unicode version config through to Line for ls-fonts
...
This makes the reported metrics show correctly for:
```
wezterm -n --config "font=wezterm.font('Noto Sans Mono CJK JP')" \
--config treat_east_asian_ambiguous_width_as_wide=true \
ls-fonts --text ".☆a☆☆☆☆"
```
refs: https://github.com/wez/wezterm/issues/1888
2022-04-19 21:12:21 -07:00
Ryang Sohn
c0cd6b1f29
docs: add split/panes keybindings
2022-04-19 17:08:19 -07:00
Wez Furlong
b92f31e7a6
macos: fix CTRL-Backslash on German layouts
...
refs: https://github.com/wez/wezterm/issues/1891
2022-04-19 14:17:04 -07:00
Wez Furlong
abfd2c2dc7
pty: fix compilation warning on !windows
2022-04-19 13:58:27 -07:00
Wez Furlong
d64bc7248e
pty: pre-fill base env from registry env settings on Windows
...
I think I'd like to make a config option for this, but for the moment,
this first pass unconditionally updates the base environment with
data from the registry.
refs: https://github.com/wez/wezterm/issues/1848
2022-04-19 09:56:23 -07:00
Wez Furlong
92893f2a34
procinfo: defend against weird situations on Windows
...
I've had a couple of deadlock situations when invoking win32 apps
via wsl on my work machine. In those situations, the process that
we show in the titlebar is a short lived process that has likely
recently terminated, so I suspect something weird about either
dangling references or, given the deadlock-y nature of things,
maybe trying to reference ourselves.
This commit tries to defend against these by:
* Avoiding creating a ProcHandle for our own pid
* Releasing the toolhelper snapshot as soon as we have copied
out the list of pids that we need
Not sure that this will nail it, but it seems like it can't hurt.
2022-04-19 08:46:32 -07:00
Wez Furlong
ea6368b2fe
docs: clarify/grammarr fix
2022-04-19 07:53:43 -07:00
Wez Furlong
24e71b801b
ci: moar alpine urgh
2022-04-19 07:50:38 -07:00
Wez Furlong
f7b34438ed
add clean_exit_codes config
...
refs: https://github.com/wez/wezterm/issues/1889
2022-04-19 07:48:49 -07:00
Xuanwo
ee2bce5138
docs: "|" needs to compose with mod SHIFT to work
...
Signed-off-by: Xuanwo <github@xuanwo.io>
2022-04-19 07:10:10 -07:00
Wez Furlong
cf20de8899
termwiz: fixup test build for ambiguous width change
...
refs: https://github.com/wez/wezterm/issues/1888
2022-04-19 07:08:50 -07:00
Wez Furlong
6a0ce5f038
ci: one more go at alpine
...
almost there!
2022-04-19 06:57:55 -07:00
Wez Furlong
5b8b9630a3
Add treat_east_asian_ambiguous_width_as_wide option
...
I've bundled this into termwiz's UnicodeVersion type as that is
a similar concept that is already routed through to the appropriate
function.
refs: https://github.com/wez/wezterm/issues/1888
2022-04-19 06:56:39 -07:00
Wez Furlong
62b7b60012
ci: more alpine urgh
2022-04-19 06:35:28 -07:00
Wez Furlong
87e2afa4db
ci: more grubbing about with alpine
2022-04-19 06:19:59 -07:00
Wez Furlong
c3a9f75cba
ci: debugging alpine continuous
2022-04-18 23:32:21 -07:00
Wez Furlong
422e0f3d56
ci: more alpine tweaks
2022-04-18 22:58:27 -07:00
Wez Furlong
6753bfe764
ci: tweak apk patterns/uploads/artifacts
2022-04-18 22:18:22 -07:00
Jakub Panek
724baf12b5
ci: update workflows
...
Signed-off-by: Jakub Panek <me@panekj.dev>
2022-04-18 21:34:34 -07:00
Jakub Panek
dc728b3895
feat: use global/job level env, add alpine
...
Signed-off-by: Jakub Panek <me@panekj.dev>
2022-04-18 21:34:34 -07:00
Jakub Panek
acd15611d0
feat: add alpine
...
Signed-off-by: Jakub Panek <me@panekj.dev>
2022-04-18 21:34:34 -07:00
Jakub Panek
a3ba5d3299
refactor: simplify rust version check
...
Signed-off-by: Jakub Panek <me@panekj.dev>
2022-04-18 21:34:34 -07:00
Jakub Panek
50cf33e013
refactor: tidy up and add alpine
...
Signed-off-by: Jakub Panek <me@panekj.dev>
2022-04-18 21:34:34 -07:00
Wez Furlong
0cf40fdfda
deps: cargo update
2022-04-18 20:51:19 -07:00
Wez Furlong
77ecbe29b1
x11: set _NET_WM_NAME for clients like polywins/polybar
2022-04-18 08:05:20 -07:00
Wez Furlong
66e8ec1586
mux: implicitly attach the domain referenced in a SpawnCommand
...
refs: https://github.com/wez/wezterm/issues/1874
2022-04-17 23:02:39 -07:00
Wez Furlong
8dfee33ef4
docs: tweak AttachDomain DetachDomain docs
2022-04-17 22:02:23 -07:00
Wez Furlong
8fbb1d0c0b
mux: add AttachDomain and DetachDomain key assignments
...
The launcher menu code to perform attaching has been generalized
into a key assignment action and reimplemented in terms of that
action.
A detach action has been added to disconnect and detach.
refs: https://github.com/wez/wezterm/issues/1874
2022-04-17 21:41:50 -07:00
Wez Furlong
b375886073
mux: spawn pane if needed when using launcher to attach
...
If we had previously killed all the panes in a remote mux,
and then reconnected to it using the launcher menu attach option,
we could end up in a confusing state where we connect but don't
show anything for the remote; it looks like nothing happened
even though it is legitimately showing the empty remote mux.
This commit checks for that case and spawns the default program
in the remote if there are no panes.
2022-04-17 18:24:46 -07:00