1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 23:21:08 +03:00
Commit Graph

5700 Commits

Author SHA1 Message Date
gimbles
7f956e9f97 feat: Add Ubuntu 22.04 target 2022-04-25 20:28:59 -07:00
Wez Furlong
bd70cad6fa macos: more urgh with swapped chars/unmod
a redo of 81d08325c1, which was a bit
more nuanced. Partially revert the logic from that commit and rephrase
it as factoring out the condition to make that part clearer, but restore
the original action, which is important in order to propagate the
modifiers through.

refs: https://github.com/wez/wezterm/issues/1907#issuecomment-1108797343
2022-04-25 19:26:41 -07:00
xpufx
9f6d2db154
Add opensuse packages to build/release workflows (#1916)
* added opensuse packaging

* change deploy.sh rpm spec for opensuse

* added missing opensuse openssh install logic

* push generated workflows

* fix typo in func name - yum vs zypper

* Update ci/generate-workflows.py

merge run steps

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

* fix libxcb-* packages for opensuse

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-04-25 13:27:56 -07:00
Wez Furlong
f309f81274 docs: tweak backslashes in registry key names 2022-04-25 09:52:51 -07:00
Wez Furlong
b3786fdbd6 docs: changelog for https://github.com/wez/wezterm/pull/1868 2022-04-25 09:51:19 -07:00
Wez Furlong
f27596caf7 Update docs/config/lua/config/quote_dropped_files.md
Co-authored-by: Muhammed Zakir <8190126+MuhammedZakir@users.noreply.github.com>
2022-04-25 09:49:32 -07:00
Ye Sijun
ccd3403bad add docs for quote_dropped_files
Signed-off-by: Ye Sijun <junnplus@gmail.com>
2022-04-25 09:49:32 -07:00
Ye Sijun
27d36250a9 introduce quote_dropped_files config option
Signed-off-by: Ye Sijun <junnplus@gmail.com>
2022-04-25 09:49:32 -07:00
Ye Sijun
8f6facd584 support drag and drop files for macos
Signed-off-by: Ye Sijun <junnplus@gmail.com>
2022-04-25 09:49:32 -07:00
Wez Furlong
3246651c63 docs: changelog for https://github.com/wez/wezterm/pull/1911 2022-04-25 07:47:15 -07:00
Wez Furlong
157e6db700 wezterm: tweak help out for wezterm cli
refs: #1911
2022-04-25 07:45:30 -07:00
Wez Furlong
f1d96b2d19 gui: show LEADER status in debug_key_events logging 2022-04-25 07:42:23 -07:00
matt rice
9fe9c94b5d add json output format option to cli commands 2022-04-25 07:42:13 -07:00
Wez Furlong
39d2726e5a ci: another stab at apk sed stuff 2022-04-25 07:10:18 -07:00
Wez Furlong
3dfe75362a deps: cargo update 2022-04-24 16:41:29 -07:00
Wez Furlong
9bf732bcae update harfbuzz to 4.2.1 2022-04-24 16:40:53 -07:00
Wez Furlong
6ec1989f14 docs: changelog for https://github.com/wez/wezterm/issues/1848 2022-04-24 16:24:12 -07:00
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