Wez Furlong
021c0a9bcd
window: ignore EINTR, which mio now propagates
...
The upgrade to a newer mio version caused the poll method
to report EINTR in some cases.
We don't need to terminate for those, so suppress it.
refs: https://github.com/wez/wezterm/issues/1955
2022-05-06 06:56:32 -07:00
Wez Furlong
39f53161be
copy mode: ctrl-v enables rectangular selection
...
refs: https://github.com/wez/wezterm/issues/1656
2022-05-05 21:10:06 -07:00
Wez Furlong
ef4a95211e
add rectangular selection
...
Alt-dragging will use rectangular selection in the default mouse
assignments.
refs: https://github.com/wez/wezterm/issues/1361
2022-05-05 20:49:22 -07:00
Wez Furlong
1b00bbaf2f
term: remove dead code
2022-05-05 19:29:19 -07:00
Wez Furlong
dc0fde7ae0
search: save last used search term and restore it
...
When search mode is activated with an empty pattern, restore
the most recently used search term in any pane.
refs: https://github.com/wez/wezterm/issues/1912
2022-05-05 12:12:06 -07:00
Wez Furlong
2710cefb3e
merge copy and search overlay code
...
The copy overlay now has a notion of running in search mode vs. copy
mode; it can be launched in either mode.
Search mode has a separate key table called `search_mode`.
Activating copy mode while search mode is active will now update
the mode of the existing overlay, rather than cancelling and creating
a new instance, and vice versa.
Activating copy mode while search mode is active will replace the
current key table activation (which is assumed to be `copy_mode`)
with `search_mode`, and vice versa.
The viewport is no longer scrolled to the bottom when activating search
mode.
refs: https://github.com/wez/wezterm/issues/993
refs: https://github.com/wez/wezterm/issues/1592
2022-05-05 08:18:04 -07:00
Wez Furlong
865d857050
docs: add key_tables entry in the config reference section
...
it just points to the main key tables docs
2022-05-05 06:04:46 -07:00
Wez Furlong
94bb4ad09d
key tables: we now search the whole stack for match
...
This change causes key table activations to effectively layer
over prior key table activations.
This is necessary for the copy mode key assignment changes to
work.
refs: https://github.com/wez/wezterm/issues/993
2022-05-04 23:09:21 -07:00
Wez Furlong
551af2f47b
define copy_mode key table and use it in copy mode
...
Moves the key handling in the copy overlay to be driven entirely
by configurable key assignments.
Note: copy mode wants you to use the `Copy` assignment to actually
do the copy, but this implementation hides the normal key assignments
by activating the copy mode key table. This will be addressed
in the following commit.
refs: https://github.com/wez/wezterm/issues/993
2022-05-04 22:49:58 -07:00
Wez Furlong
99081e757a
overlays: capture/restore the key_table_state when activating/closing
...
refs: https://github.com/wez/wezterm/issues/993
2022-05-04 22:17:22 -07:00
Wez Furlong
de97f16d56
copy mode: add CopyMode key assignment actions
...
Defines an assignment action for each of the pre-defined actions
in copy mode.
refs: https://github.com/wez/wezterm/issues/993
2022-05-04 21:44:04 -07:00
Wez Furlong
262531631c
mux: add Pane::perform_assignment
...
Allows a pane to override/implement the action for an assignment
refs: https://github.com/wez/wezterm/issues/993
2022-05-04 21:29:07 -07:00
Wez Furlong
69f1f1e7d5
deps: update to rcgen 0.9
2022-05-04 20:16:41 -07:00
Wez Furlong
745bf24d87
deps: upgrade to mio 0.8
2022-05-04 20:16:41 -07:00
Wez Furlong
53c5649b88
deps: nix -> 0.24
2022-05-04 20:16:41 -07:00
Wez Furlong
a6c1680df4
deps: replace pretty_assertions dep with k9
2022-05-04 20:16:41 -07:00
Wez Furlong
ef96646f1c
deps: migrate battery to starship-battery
...
The former is unmaintained and is flagging in cargo audit for its
indirect deps.
The starship folks have forked it; let's use that.
refs: https://github.com/svartalf/rust-battery/pull/92
refs: https://github.com/wez/wezterm/issues/1952
2022-05-04 20:11:48 -07:00
Wez Furlong
cee50fffb8
flush after replying to DECRQM
...
refs: https://github.com/wez/wezterm/issues/1950
2022-05-03 17:34:33 -07:00
Wez Furlong
e0785311c1
deps: ordered-float
...
closes: https://github.com/wez/wezterm/pull/1946
2022-05-01 21:43:22 -07:00
Wez Furlong
0b79d34431
cargo update
2022-05-01 21:21:14 -07:00
Wez Furlong
d91bd1fa4d
docs: changelog for https://github.com/wez/wezterm/issues/1726
...
refs: https://github.com/wez/wezterm/pull/1938
2022-05-01 10:12:41 -07:00
Ye Sijun
b73838c426
support scrolling tabs
...
Signed-off-by: Ye Sijun <junnplus@gmail.com>
2022-05-01 10:09:31 -07:00
Gabriel Arazas
8bfcc532a8
docs: fix link to ScrollByPage
2022-05-01 09:25:54 -07:00
Wez Furlong
0ec4552bd7
docs: changelog for https://github.com/wez/wezterm/pull/1939
2022-05-01 08:59:31 -07:00
kumattau
f9d22cc357
Fix missing string after ";" from icon and window title
2022-05-01 08:56:03 -07:00
Wez Furlong
efcc4b48c1
capture panic backtrace to log file
2022-04-27 14:47:28 -07:00
Wez Furlong
97005b8c1c
termwiz: use perfect hashing for emoji variation sequences
2022-04-26 19:10:00 -07:00
Wez Furlong
4d09fe1f7d
windows: use ? operator to tidy up a little bit
2022-04-26 07:36:20 -07:00
Wez Furlong
8005c9df98
windows: fix stuck IME composition when switching input methods
...
refs: https://github.com/wez/wezterm/issues/1922
2022-04-26 07:29:48 -07:00
xpufx
c5116656ef
do not display links for stable for now
2022-04-26 06:25:18 -07:00
xpufx
b0e91a6bbb
adding opensuse packages to docs
2022-04-26 06:25:18 -07:00
Wez Furlong
7f0b5ab083
docs: update ubuntu 22 stable download
...
it won't exist until we make the next release
2022-04-25 22:28:26 -07:00
Wez Furlong
7dd6de77c6
ci: run black
on generate-workflows.py
2022-04-25 21:11:00 -07:00
gimbles
7cd4b9c64f
Add Ubuntu 22.04 release in docs
2022-04-25 20:28:59 -07:00
gimbles
981f1e678d
Add 22.04 release info
2022-04-25 20:28:59 -07:00
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