Wez Furlong
ac5199c216
config: add bypass_mouse_reporting_modifiers option
...
This allows changing eg: SHIFT to ALT for bypassing mouse reporting.
refs: https://github.com/wez/wezterm/issues/911
2021-07-11 22:02:23 -07:00
Wez Furlong
be680955d7
scroll to bottom on paste
...
closes: https://github.com/wez/wezterm/issues/931
2021-07-10 22:04:43 -07:00
Wez Furlong
0208e91cbd
docs: changelog for https://github.com/wez/wezterm/issues/933
...
closes: https://github.com/wez/wezterm/issues/933
2021-07-10 08:22:41 -07:00
Benoit de Chezelles
6f64c747e8
Update changelog for braille
2021-07-08 09:30:27 -07:00
Benoit de Chezelles
4f7b21d532
docs: Add note on issues with binding mouse Up event only
2021-07-04 09:53:57 -07:00
Wez Furlong
d3deca60cd
ssh-config: allow multiple IdentityFile lines in ssh config
...
The man page states:
> For each parameter, the first obtained value will be used.
but then later says:
> It is possible to have multiple identity files specified in
> configuration files; all these identities will be tried in sequence.
> Multiple IdentityFile directives will add to the list of identities
> tried (this behaviour differs from that of other configuration
> directives).
So that's what this commit does
2021-06-30 12:08:28 -07:00
Wez Furlong
c61ac590f8
docs: fixup markdown on the mouse binding page
2021-06-30 07:52:01 -07:00
Wez Furlong
e05ddb1737
fix force_reverse_video_cursor
2021-06-28 09:18:13 -07:00
Wez Furlong
0a00ffe98b
wayland: fix key repeat
...
The main culprit was the calloop feature that is used by default
in the underlying SCTK crate.
This commit:
* Routes keyboard processing via the same keyboard mapping code
that we use for X11
* Implements key repeats directly, and with awareness of elapsed
time in case the repeat rate is quicker than the event dispatching
quantum
* Disables the calloop feature of SCTK and let us do our own polling
of the wayland connection.
Critically, key repeat is sticky and unpredictable while calloop is
enabled.
closes : #669
2021-06-27 14:29:03 -07:00
Wez Furlong
e0a6ba9404
docs: update for #906
2021-06-27 10:28:46 -07:00
Wez Furlong
2fc143e6dd
click to focus window now focuses the pane under the mouse cursor
...
refs: https://github.com/wez/wezterm/issues/881
2021-06-26 15:24:17 -07:00
Wez Furlong
ea58c2311a
docs: changelog for https://github.com/wez/wezterm/pull/891
2021-06-20 09:08:26 -07:00
Wez Furlong
ae4bfae5c4
mouse cursor -> Arrow when app grabs mouse
...
closes: https://github.com/wez/wezterm/issues/859
2021-06-19 17:35:16 -07:00
Wez Furlong
fdf871c3cb
fonts: add wezterm ls-fonts --text "hello"
to explain per-glyph font
...
```
; ./target/debug/wezterm ls-fonts --text "␉ ␌ ␍ ␊ ␋"
␉ \u{2409} glyph=885 wezterm.font("Terminus", weight="Bold", stretch="Normal", italic=false)
/home/wez/.fonts/terminus-bold.otb, FontDirs
\u{20} glyph=2 wezterm.font("Operator Mono SSm Lig", weight="DemiLight", stretch="Normal", italic=false)
/home/wez/.fonts/OperatorMonoSSmLig-Medium.otf, FontDirs
␌ \u{240c} glyph=888 wezterm.font("Terminus", weight="Bold", stretch="Normal", italic=false)
/home/wez/.fonts/terminus-bold.otb, FontDirs
\u{20} glyph=2 wezterm.font("Operator Mono SSm Lig", weight="DemiLight", stretch="Normal", italic=false)
/home/wez/.fonts/OperatorMonoSSmLig-Medium.otf, FontDirs
␍ \u{240d} glyph=889 wezterm.font("Terminus", weight="Bold", stretch="Normal", italic=false)
/home/wez/.fonts/terminus-bold.otb, FontDirs
\u{20} glyph=2 wezterm.font("Operator Mono SSm Lig", weight="DemiLight", stretch="Normal", italic=false)
/home/wez/.fonts/OperatorMonoSSmLig-Medium.otf, FontDirs
␊ \u{240a} glyph=886 wezterm.font("Terminus", weight="Bold", stretch="Normal", italic=false)
/home/wez/.fonts/terminus-bold.otb, FontDirs
\u{20} glyph=2 wezterm.font("Operator Mono SSm Lig", weight="DemiLight", stretch="Normal", italic=false)
/home/wez/.fonts/OperatorMonoSSmLig-Medium.otf, FontDirs
␋ \u{240b} glyph=887 wezterm.font("Terminus", weight="Bold", stretch="Normal", italic=false)
/home/wez/.fonts/terminus-bold.otb, FontDirs
```
2021-06-19 16:55:45 -07:00
Wez Furlong
d57bc9b3dc
CloseCurrentPane on last pane in a tab results in window closing
...
The issue is that the pane was only removed from the tab when explicitly
closed, leaving it to be later detected and flushed.
However, in the meantime, when performing eg: cursor blink maintenance,
if the set of panes in the tab is empty then the window would close.
The resolution is to ask the mux (rather than the tab) to kill the pane,
so that the cascading closure of the tab causes the window's active
tab to reference the correct remaining tab.
refs: #890
2021-06-19 11:06:14 -07:00
Wez Furlong
e3fdef7fb4
add wezterm cli spawn --new-window
flag
...
refs: https://github.com/wez/wezterm/issues/887
2021-06-18 22:12:25 -07:00
Wez Furlong
f752d0e7ac
set COLORTERM=truecolor in the environment
...
closes: https://github.com/wez/wezterm/issues/875
2021-06-15 19:34:31 -07:00
Wez Furlong
c7ec47e2c0
add sextant glyphs to custom block glyphs
...
While I'm in here, teach the font fallback code that it doesn't
need to search for these glyphs when custom block glyphs are
enabled.
refs: https://github.com/dankamongmen/notcurses/issues/1715
refs: #584
refs: #588
2021-06-10 20:38:48 -07:00
Wez Furlong
db9a65ae42
docs: changelog for https://github.com/wez/wezterm/issues/839
...
closes: https://github.com/wez/wezterm/issues/839
2021-06-10 07:43:48 -07:00
Wez Furlong
cc19aaca9f
revise skip_close_confirmation_for_processes_named for Windows
...
closes : #843
2021-06-10 07:39:00 -07:00
Wez Furlong
e41c23dd71
docs: changelog for https://github.com/wez/wezterm/pull/851
2021-06-10 07:14:17 -07:00
Wez Furlong
434f54fae7
docs: changelog for https://github.com/wez/wezterm/pull/838
2021-05-31 16:34:38 -07:00
Wez Furlong
717a2157f6
fonts: synthesize dim when a light weight font is unavailable
2021-05-30 20:52:10 -07:00
Wez Furlong
cb4da18021
key assignment and docs for ShowDebugOverlay
...
refs: https://github.com/wez/wezterm/issues/641
2021-05-30 19:56:11 -07:00
Wez Furlong
439fd5145d
docs: fix typo
2021-05-30 17:38:24 -07:00
Wez Furlong
8953f816c4
docs: OSC 7 for powershell
2021-05-30 17:27:41 -07:00
Wez Furlong
2e924c9627
fix over-reporting of mouse drag events
...
neovim doesn't like it when multiple drag events with the same
coordinates are received; it appears to treat that as though
the mouse button was double clicked.
This commit teaches the mouse report encoding to suppress multiple
drag events in succession that have the same payload.
refs: https://github.com/wez/wezterm/discussions/823
2021-05-30 12:36:50 -07:00
Wez Furlong
846787d543
docs: changelog for #748 and #489
2021-05-30 11:56:50 -07:00
Wez Furlong
b8a93a0b66
mux client: use pane_id instead of tab id when splitting!
...
This looks like a honest typo from when panes were introduced!
We were passing the tab id rather than the pane id when specifying
the target of a split.
likely fix for this issue:
refs: https://github.com/wez/wezterm/issues/781
2021-05-30 08:50:44 -07:00
Wez Furlong
a652896418
fix OSC 52 not working in multiplexer
...
closes: https://github.com/wez/wezterm/issues/764
2021-05-30 07:40:00 -07:00
Wez Furlong
529b709277
windows: ssh: detect resizes during authentication
...
refs: https://github.com/wez/wezterm/issues/696
2021-05-29 15:15:42 -07:00
Wez Furlong
eaa0d2f4d3
ssh: fix lost character after keyboard auth on windows
...
closes: https://github.com/wez/wezterm/issues/771
2021-05-29 10:05:55 -07:00
Wez Furlong
de4ba46731
docs: note about ssh_config Include
2021-05-29 00:19:21 -07:00
Wez Furlong
3093fb3eb6
wezterm-ssh: process Include statements
...
refs: https://github.com/wez/wezterm/issues/824
2021-05-28 22:16:24 -07:00
Wez Furlong
039ddd14dc
docs: note about WSL 2 not working with unix mux
...
refs: https://github.com/microsoft/WSL/issues/5961
2021-05-28 15:16:46 -07:00
Wez Furlong
3f6ff534d3
windows: fix lingering cmd.exe panes
...
Since removing the regular periodic background tasks, we're now
prone to not noticing child processes exiting.
This commit explicictly schedules a thread to do that on Windows
so that we can close a tab as soon as it exits.
2021-05-28 15:11:29 -07:00
Wez Furlong
b5bfec6510
update conpty to v1.9.1445.0
...
refs: https://github.com/microsoft/terminal/issues/376
This also enables as the conpty layer the new win32 mode discussed in
https://github.com/wez/wezterm/issues/318
wezterm itself is not able to use this mode yet.
2021-05-28 15:11:29 -07:00
Wez Furlong
0519b5499a
fonts: can now synthesize italics for bitmap fonts
...
refs: #815
2021-05-23 08:27:36 -07:00
Wez Furlong
c37ee01222
fonts: synthesize bold when missing
...
refs: #815
2021-05-22 16:20:35 -07:00
Wez Furlong
2bbe2bd154
fonts: synthesize italics for fonts that don't have it
...
This commit adds a slant to *scalable* (not bitmap!) fonts whose
originating font attributes requested italics but for for which
the resolved face is not italic.
refs: #815
2021-05-22 16:01:16 -07:00
Wez Furlong
8418495dbd
brew tap is now a Cask on macOS
...
This updates the docs to reflect the changes in
https://github.com/wez/homebrew-wezterm/pull/2 and updates the
automation to use the cask as the template, and to update and commit the
task version of the formula.
Thanks @laggardkernel!
closes: https://github.com/wez/homebrew-wezterm/issues/1
refs: https://github.com/wez/wezterm/issues/501
2021-05-22 08:30:10 -07:00
Wez Furlong
e23ea64864
changelog for #799
...
refs: https://github.com/wez/wezterm/pull/799
2021-05-18 08:37:22 -07:00
Wez Furlong
9b082edb8d
log errors when a color scheme fails to load
...
refs: https://github.com/wez/wezterm/issues/794
2021-05-15 13:39:31 -07:00
Wez Furlong
db45238769
improve exit_behavior messaging
...
The status information now explains the exit status and the
exit_behavior, as well as links to the docs on exit_behavior.
refs: https://github.com/wez/wezterm/issues/795
2021-05-15 08:32:29 -07:00
Wez Furlong
69561b96c8
fix wrong starting row for split paints when tab bar is at bottom
...
refs: https://github.com/wez/wezterm/issues/797
2021-05-15 07:47:33 -07:00
Wez Furlong
3c6fb77879
docs for https://github.com/wez/wezterm/issues/785
...
closes: https://github.com/wez/wezterm/issues/785
2021-05-11 18:59:46 -07:00
Wez Furlong
01de37b709
fix Sixel HLS interpretation
...
Two issues here:
* The hue angles need adjusting to work with the palette library
* The resultant RGB color had the wrong gamma level, resulting in
an overly bright image.
refs: https://github.com/wez/wezterm/issues/775
2021-05-09 11:43:26 -07:00
Wez Furlong
99cc5a2242
changelog for #699
...
closes: https://github.com/wez/wezterm/issues/699
2021-05-09 08:21:38 -07:00
Wez Furlong
b8acdf592f
fix panic when double-click-selection drags across line boundary
...
closes: https://github.com/wez/wezterm/issues/762
2021-05-09 08:17:56 -07:00
Wez Furlong
55289013ed
wezterm cli split-pane
now respects cwd of source pane
...
closes: https://github.com/wez/wezterm/issues/766
2021-05-09 08:02:35 -07:00
Kerfuffle
258038cd16
docs: Correct Lua example for PasteFrom action. ( #773 )
2021-05-09 06:54:09 -07:00
Wez Furlong
ff153ba27f
vtparse: recognize utf8 encoded c1 codes in more cases
...
There were two bugs here:
* \u8D (the utf8 encoded representation of 0x8d, aka: RI) was not
recognized as a C1 code and was instead passed through as printable
text.
* The \u8D is a zero-width sequence which means that a subsequent
set_cell call on the new empty-by-default line wouldn't allocate
any cells in the line array, and the assigment to the line would
panic.
This commit avoids the panic for the second case, and then fixes up
the vtparser to correctly recognize the sequence as a C1 control.
refs: https://github.com/wez/wezterm/issues/768
2021-05-08 00:39:29 -07:00
Wez Furlong
9a1314c5b1
docs: changelog for voidsymbol
2021-05-07 07:59:26 -07:00
Chris
2add312c5c
Allow VoidSymbol keycode to be seen by wezterm ( #759 )
...
* allow voidsymbol for key code
* update docs, cleanup
* cleanup and fmt of files
* remove unnecessary inputs
2021-05-07 07:54:24 -07:00
Wez Furlong
494fa999bb
fix system ssh config path
2021-05-03 19:54:09 -07:00
Wez Furlong
0e9d86f9f9
lua: print -> log_info
...
Make print equivalent to log_info.
Improve the various log functions so that all of their arguments
are considered.
refs: https://github.com/wez/wezterm/issues/641
2021-05-03 09:19:52 -07:00
Frieder Bluemle
0b84df38db
Fix docs typos
2021-05-02 19:44:29 -07:00
Wez Furlong
2be2c8832c
docs: add fedora 34 stable download
2021-05-02 17:46:32 -07:00
Wez Furlong
fbcea3a2f4
docs: update for 20210502-154244-3f7122cb
2021-05-02 16:13:32 -07:00
Wez Furlong
bff6815df1
docs: typo fix changelog
2021-05-02 13:02:08 -07:00
Wez Furlong
e210cdf8ea
docs: add fedora 34
2021-05-02 09:52:57 -07:00
Wez Furlong
c963f5a7ab
docs: update color scheme screenshots
...
This picks up the new schemes, and also the larger default
font size.
2021-05-02 07:52:38 -07:00
Wez Furlong
a45c500eba
update colorschemes
...
https://github.com/mbadolato/iTerm2-Color-Schemes.git @
ea6f5ff97f23902bb62334bfc8f4974fbd65b48b
2021-05-02 07:47:23 -07:00
Wez Furlong
f084f4d61f
changelog for #740
...
closes: https://github.com/wez/wezterm/issues/740
2021-05-02 07:31:53 -07:00
Wez Furlong
3d70949d1b
docs: fix typo
2021-05-02 07:29:43 -07:00
Wez Furlong
4a024c3af5
docs: fix typo
2021-05-01 19:50:31 -07:00
Wez Furlong
04c083ee8a
docs: for use_cap_height_to_scale_fallback_fonts option
2021-05-01 19:50:31 -07:00
Wez Furlong
82d825ab37
split padding out from truncation
...
This makes these functions a bit more composable!
Heads up @jankatins; this is a breaking change (for the better!)
refs: https://github.com/wez/wezterm/issues/647
2021-05-01 18:26:53 -07:00
Wez Furlong
e119313e37
ssh: add basic support for Match Host, Match User in ssh_config parser
2021-05-01 08:53:51 -07:00
Wez Furlong
bc0766396d
use -$SHELL
rather than $SHELL -l
to trigger a login shell
...
Since the original code was written, Rust grew and stabilized
an interface for specifying argv0 for the child process, so
we can remove the fragile `-l` argument passing.
refs: https://github.com/wez/wezterm/issues/753
2021-05-01 07:31:35 -07:00
Wez Furlong
d4da670294
docs for and minor tweak of curly underline improvement
...
refs: https://github.com/wez/wezterm/pull/733
2021-04-30 09:22:01 -07:00
Wez Furlong
acb4df4934
term: clear mouse button when focus is lost
...
refs: https://github.com/wez/wezterm/issues/744
2021-04-27 08:38:40 -07:00
Wez Furlong
45262c3091
macos: fix numpad enter key reporting
...
refs: https://github.com/wez/wezterm/issues/739
2021-04-27 07:39:10 -07:00
Wez Furlong
e9fcc98d4a
quickselect: allow pasting when typing the uppercase prefix
...
revise the colors to be a bit less glaring.
Updated the screenshot
refs: https://github.com/wez/wezterm/issues/732
2021-04-27 07:06:55 -07:00
Wez Furlong
bc6f93ccf0
docs: changelog for #742
...
refs: https://github.com/wez/wezterm/pull/742
2021-04-27 06:27:15 -07:00
Wez Furlong
c4dc358282
add truncate_left_to_width
...
refs: #647
2021-04-27 06:23:19 -07:00
Wez Furlong
7e996950f6
add wezterm.truncate_to_width
...
refs: https://github.com/wez/wezterm/issues/647
2021-04-26 22:27:12 -07:00
Wez Furlong
d176af9c30
tidy up format-tab-title, add tab_max_width parameter
...
refs: https://github.com/wez/wezterm/issues/647
2021-04-26 21:43:30 -07:00
Wez Furlong
be9c60bfc8
removed tab_bar_style options in favor of format-tab-title
...
refs: https://github.com/wez/wezterm/issues/647
2021-04-26 20:16:47 -07:00
Wez Furlong
0f2f3734d9
add wezterm.column_width
...
refs: https://github.com/wez/wezterm/issues/647
2021-04-26 20:10:27 -07:00
Wez Furlong
32c2aa03d2
docs: third time's the charm!
2021-04-25 22:45:36 -07:00
Wez Furlong
5c96dab2e0
docs: fixup screenshot path
2021-04-25 22:38:52 -07:00
Wez Furlong
a554acc5d0
docs: add screenshot for quickselect
2021-04-25 22:36:41 -07:00
Wez Furlong
3028756ccb
add tab_bar_at_bottom config option
...
closes: https://github.com/wez/wezterm/issues/278
2021-04-25 20:49:48 -07:00
Wez Furlong
f3706c706c
de-hover tab when moving cursor down into the terminal
...
It's not perfect; this only handles the case where you move down
into the terminal. I couldn't easily make the same thing happen
when moving the mouse up or left outside of the window. It's
probably fixable but this is better than it was.
closes: https://github.com/wez/wezterm/issues/591
2021-04-25 17:01:21 -07:00
Wez Furlong
8ce376753f
round out quick select mode
...
* Make alphabet and patterns configurable
* add docs
* Enhance scrollback search to support regex captures so that
searching for eg: `fo(o)` will select the last `o` in `foo`.
refs: https://github.com/wez/wezterm/issues/732
2021-04-25 16:27:39 -07:00
Wez Furlong
87677a73bf
Add support for iTerm2's SetUserVar escape
...
This doesn't propagate across wezterm's mux protocol
at this time.
refs: https://github.com/wez/wezterm/issues/647
https://iterm2.com/documentation-scripting-fundamentals.html#setting-user-defined-variables
2021-04-25 14:30:06 -07:00
Wez Furlong
1cb2856223
add hover parameter to format-tab-title
...
refs: https://github.com/wez/wezterm/issues/647
2021-04-25 13:53:06 -07:00
Wez Furlong
a69447fc2a
nominally support toast notif timeouts
...
I've built this on linux, which doesn't respect the timeout.
I've made speculative changes that should build on mac and windows,
but that don't plumb the timeout functionality on those systems
as of yet.
refs: #619
2021-04-25 08:52:43 -07:00
Wez Furlong
5b281c42b9
docs: changelog for https://github.com/wez/wezterm/issues/729
2021-04-25 08:15:07 -07:00
Wez Furlong
2c89e47f9e
add force_reverse_video_cursor option
...
refs: https://github.com/wez/wezterm/issues/706
2021-04-24 21:16:58 -07:00
Wez Furlong
09e101c268
add format-tab-title event
...
refs: https://github.com/wez/wezterm/issues/647
2021-04-24 17:59:39 -07:00
Wez Furlong
e3fcdc9f36
add format-window-title event
...
This provides a flexible way for users to customize what gets
shown in the window title bar.
closes: https://github.com/wez/wezterm/pull/603
2021-04-24 16:47:26 -07:00
Wez Furlong
87d49e45fc
fix: multi-glyph tab titles
...
closes: https://github.com/wez/wezterm/issues/711
2021-04-23 22:51:53 -07:00
Wez Furlong
52b57ca512
fix splitting panes while a pane is zoomed
...
closes: https://github.com/wez/wezterm/issues/723
2021-04-23 22:32:47 -07:00
Wez Furlong
d705886b53
Add pane_focus_follows_mouse
...
closes: https://github.com/wez/wezterm/issues/600
2021-04-23 22:17:33 -07:00
Wez Furlong
657ed92d82
add swallow_mouse_click_on_pane_focus option
...
refs: https://github.com/wez/wezterm/issues/724
2021-04-23 22:17:06 -07:00
Wez Furlong
501836fece
docs: changelog for https://github.com/wez/wezterm/issues/714
2021-04-23 19:11:59 -07:00
Wez Furlong
d6cfa9c610
fix a possible panic when word-selecting off the top of viewport
...
refs: https://github.com/wez/wezterm/issues/713
2021-04-23 19:10:26 -07:00
Wez Furlong
115fb1e6d4
docs: mention window width/height
...
refs: #256
2021-04-23 17:45:55 -07:00