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

1962 Commits

Author SHA1 Message Date
Wez Furlong
0621c1f19c
docs: update for latest release 2024-01-29 09:27:03 -07:00
Wez Furlong
1e552d7643
front_end defaults to OpenGL again
I meant to flip this back prior to cutting the most recent release,
and we've had a couple of issues already raised about WebGpu
and is transparency handling on Windows, and color/gamma.

I think I'll just leave this at OpenGL for a while, until WebGpu
catches up a bit better.
2024-01-28 20:21:57 -07:00
Wez Furlong
616b218e32
freetype_load_flags now defaults to NO_HINTING 2024-01-28 20:21:57 -07:00
Andrii
4156185c9e fix typo in installation example
The installation example mentions the Ubuntu 20 package, while the provided example is for the Ubuntu 22 package
2024-01-28 14:39:39 -07:00
Wez Furlong
3a66f67fa0
docs: fix typo (duplicate issue id) 2024-01-28 08:05:57 -07:00
Wez Furlong
0b2b85d5d8
docs: changelog for kitty image protocol fixes
refs: #1156
refs: #1156
refs: #1663
refs: #2084
refs: #2422
refs: #2761
refs: #3918
refs: #4233
refs: #4847
2024-01-28 08:01:25 -07:00
Wez Furlong
e7111a2bfa
fix laggy tab bar update after closing a tab
refs: https://github.com/wez/wezterm/issues/4880
2024-01-28 07:38:10 -07:00
Wez Furlong
e23ab47239
macos: ignore LastResort font in fallback suggestions
refs: https://github.com/wez/wezterm/issues/4877
2024-01-27 23:28:20 -07:00
Wez Furlong
6de7c60452
docs: update changelog to show latest release 2024-01-27 13:11:29 -07:00
Wez Furlong
6bb474a732
docs: update for retired and newly supported linux builds 2024-01-27 13:09:39 -07:00
Wez Furlong
11c1dd6527
docs: manual fixup of color scheme data
There's something bad in there, will need to fixup the sync
script, but first, let's unblock the doc build for the release.
2024-01-27 12:53:07 -07:00
Wez Furlong
c85fa0b73b
docs: update for latest release 2024-01-27 12:50:49 -07:00
Wez Furlong
bbcac86436
sync color schemes 2024-01-27 11:36:34 -07:00
Wez Furlong
f30ea0a6eb
new: pane:get_lines_as_escapes()
refs: https://github.com/wez/wezterm/issues/4780
2024-01-27 11:22:48 -07:00
Wez Furlong
b2ae5ade79
docs: show how to get whole scrollback in get_xxx_as_text
Folks often ask how to do this. Pre-empt the question.
2024-01-27 11:05:43 -07:00
Wez Furlong
2a8bdfa603
launcher: allow ctrl-[ to close launcher menu
refs: https://github.com/wez/wezterm/issues/4722
2024-01-27 09:01:33 -07:00
Wez Furlong
7f3a835548
fix excessive calls to format-tab-title
* Removed title update from main render loop
* Add to PaneFocused event
* term: only emit Alert::OutputSinceFocusLost for the first
  seqno bump after losing focus, rather than on every bump.
  That event indirectly causes the title to update

refs: https://github.com/wez/wezterm/issues/4788
2024-01-25 23:14:38 -07:00
Wez Furlong
29d8bcc6ea
docs: remove selection restriction
This used to make things such that the copy button for `console`
blocks would only copy the input and not the output, but it
doesn't seem to have that effect any more, and now just prevents
selecting portions of the output.

That's a PITA because eg: the CLI --help pages use `console`
to show which options are available.

I think something has probably changed somewhere in upstream mkdocs
because this used to work as I mentioned above.

refs: https://github.com/squidfunk/mkdocs-material/issues/6697
2024-01-25 13:09:36 -07:00
Wez Furlong
1f9f3f2a5d
docs: changelog for https://github.com/wez/wezterm/pull/4850
and rustfmt on my little tweak
2024-01-25 08:23:17 -07:00
Wez Furlong
6db993c6cd
docs: fix typo 2024-01-25 07:04:31 -07:00
Wez Furlong
30d6c6d9c0
docs: fix typo 2024-01-24 22:11:22 -07:00
Wez Furlong
ad762e5aa2
docs for https://github.com/wez/wezterm/pull/4824 2024-01-24 22:07:14 -07:00
Wez Furlong
46732d049a
x11: speculatively allow pasting latin-1 data
refs: https://github.com/wez/wezterm/issues/4402
2024-01-24 16:31:56 -07:00
Andrii
925568a215 Update AttachDomain.md
Fix typo.
2024-01-24 15:23:39 -07:00
Daniel Kongsgaard
1ca3d48cfa Update shell-integration.md 2024-01-24 13:01:38 -07:00
Wez Furlong
223ba32de2
x11: fix handling of high-speed key events
test scenario is:

```
bash -c "sleep 5; for((i=0;i<30;i++)); do xdotool keydown --delay 0 Shift_L keydown --delay 0 9 keyup --delay 0 Shift_L keyup --delay 0 9; done"
```

That should cause a series of `(` characters to be emitted, but prior to
this commit is was usually mostly `9`'s.

What's changing here is:
* We copy the pertinent fields from the last xcb StateNotify event.
  That ostensibly has the current modifier and layout state, but
  because it comes from the X server, it doesn't factor in knowledge
  from the IME.
* When processing an XCB key event, compute the current modifier
  mask and override the XKB state with it.
* Now XKB will produce correct information about the key syms
* Restore the modifier state from the saved StateNotify information.

refs: https://github.com/wez/wezterm/pull/4151
refs: https://github.com/wez/wezterm/issues/4615
refs: https://github.com/fcitx/fcitx5/issues/893
refs: https://github.com/ibus/ibus/issues/2600
refs: https://github.com/wez/wezterm/issues/3840
2024-01-24 08:04:39 -07:00
Wez Furlong
b3c996016e
docs: changelog for #4828
closes: https://github.com/wez/wezterm/issues/4828
2024-01-24 06:53:35 -07:00
Wez Furlong
73c8bbb8e0
docs: changelog and update for #4426 2024-01-23 06:30:32 -07:00
Wez Furlong
74e2c79d9c
docs for #4839 and apply to other areas with similar issue
refs: https://github.com/wez/wezterm/pull/4839
2024-01-23 05:55:18 -07:00
Wez Furlong
76028ca154
docs: changelog for #2373 #4339 2024-01-21 18:02:15 -07:00
Wez Furlong
5e9688bd4e
Update Symbols Nerd Font Mono to 3.1.1
Procedure is:

* Download the `NerdFontsSymbolsOnly.zip` release asset
* Extract the font into assets/fonts
* Run the codegen to update nerdfonts_data.rs:
  `cd termwiz/codgen ; cargo run`
* Apply formatting: `cd ../../ ; cargo +nightly fmt`
* Update the list of symbols in the docs:
  * edit `docs/config/lua/wezterm/nerdfonts.md`
  * delete the table
  * Run the embedded vim command that will regenerate the table

refs: https://github.com/wez/wezterm/pull/4656
2024-01-21 16:25:04 -07:00
Wez Furlong
72fae51b00
x11/wayland: avoid including keysym name in compose cursor
refs: https://github.com/wez/wezterm/issues/4511
2024-01-21 15:49:03 -07:00
Wez Furlong
b0671294d1
docs: changelog for #3698, #3699 2024-01-21 14:37:22 -07:00
Eric Berquist
8cb77e13c8 Fix example comment about switching zero for Fira fonts 2024-01-21 14:22:32 -07:00
Benjamin Habié
669f75f94e docs: shell-integration: Document activation by default on Arch Linux 2024-01-21 14:15:04 -07:00
Wez Furlong
13b2f2bcb5
docs: changelog for #4505 2024-01-21 14:14:00 -07:00
Wez Furlong
fe24169939
docs: changelog for #4567 2024-01-21 14:11:09 -07:00
rawnly
521b7fb7ef docs: updated docs 2024-01-21 14:06:01 -07:00
Federico
b0a392b173 Update docs/config/lua/keyassignment/SetWindowLevel.md
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-01-21 14:06:01 -07:00
Federico
32b0c0361a Update SetWindowLevel.md
Co-authored-by: Mike Duminy <4092035+mikeduminy@users.noreply.github.com>
2024-01-21 14:06:01 -07:00
rawnly
61786b26f3 docs: fixed spacing 2024-01-21 14:06:01 -07:00
rawnly
2dfeeb37a5 docs: docs update with macos warning 2024-01-21 14:06:01 -07:00
Federico
69f64dbb66 Update docs/config/lua/keyassignment/SetWindowLevel.md
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-01-21 14:06:01 -07:00
Federico
7bc24ebb4d Update docs/config/lua/keyassignment/SetWindowLevel.md
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-01-21 14:06:01 -07:00
Federico
1162cb764d Update docs/config/lua/keyassignment/ToggleAlwaysOnTop.md
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-01-21 14:06:01 -07:00
Federico
7805ebefa7 Update docs/config/lua/keyassignment/SetWindowLevel.md
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-01-21 14:06:01 -07:00
Federico
15da320b15 Update docs/config/lua/keyassignment/ToggleAlwaysOnBottom.md
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-01-21 14:06:01 -07:00
Federico
9997e2beba Update docs/config/lua/keyassignment/ToggleAlwaysOnBottom.md
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-01-21 14:06:01 -07:00
Federico
a3f9fc3dd5 Update docs/config/lua/keyassignment/ToggleAlwaysOnTop.md
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-01-21 14:06:01 -07:00
rawnly
2795cf0c4a docs: added window level options 2024-01-21 14:06:01 -07:00
rawnly
fd99a84e61 docs: ToggleFloatingWindow docs
Signed-off-by: rawnly <rawnly@users.noreply.github.com>
2024-01-21 14:06:01 -07:00
Andrii
fed9893a09 Update workspaces.md
remove typo.
2024-01-21 14:01:55 -07:00
Wez Furlong
c607c6a59c
allow rgba for all window_frame colors
refs: https://github.com/wez/wezterm/issues/3580
2024-01-20 10:06:02 -07:00
Wez Furlong
05eadb7cbb
docs: changelog for #4809 #4810 2024-01-19 08:53:37 -07:00
Wez Furlong
9181d010ff
docs: remove centos 7
It is no longer buildable on GH without extreme effort.
2024-01-18 06:12:39 -07:00
Wez Furlong
6c36a4dda2
docs: fix sources.list 2024-01-11 07:36:35 -07:00
Wez Furlong
dc32d84cd2
docs: changelog for #4775 #4770 2024-01-11 06:56:56 -07:00
Wez Furlong
09b43da59d
docs: changelog for #4151 #3840 2024-01-11 06:48:40 -07:00
Wez Furlong
90d8feaf6d
docs: show how to use new apt repo 2024-01-10 17:07:38 -07:00
Wez Furlong
8bdcf84ef7
Experiment with hosting .debs on gemfury 2024-01-10 15:54:36 -07:00
Wez Furlong
1c0901957d
docs: changelog for #4730 2024-01-08 18:23:19 -07:00
Wez Furlong
9fc89e621f
de-fang paste payloads by removing bracketed paste sequences from them
refs: https://github.com/wez/wezterm/issues/4765
2024-01-08 18:17:22 -07:00
Wez Furlong
e5274decb0
docs: fix list indenting for the background config
mkdocs is much more strict about the indentation level than mdbook
2024-01-03 08:14:03 -07:00
Daniel Kongsgaard
e3cd2e93d0 Apply suggestions from code review
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2023-12-03 12:40:28 -07:00
Danielkonge
254034c512 Add wezterm.to_string function 2023-12-03 12:40:28 -07:00
Wez Furlong
bb871b88fd
docs: changelog for #4578 2023-12-02 08:51:47 -07:00
Wez Furlong
ac230873ff
docs: changelog for #4420 2023-12-02 08:40:02 -07:00
Wez Furlong
15489249b8
docs: fixup list in ActivateCommandPalette 2023-12-02 08:33:42 -07:00
Wez Furlong
9fc8dc09f2
docs: changelog for #4595 2023-12-01 07:58:37 -07:00
Andrew Stone
28ac1c845b
Adds config option for command palette rows (#4595)
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2023-12-01 07:56:41 -07:00
Wez Furlong
d7a2e258d0
docs: changelog for #4605 2023-12-01 07:52:09 -07:00
Wez Furlong
f07cc83716
ci: s/fedora36/fedora39/
CI just failed to build fedora36, which is now EOL, and fedora39 is out.
2023-11-24 20:20:04 -07:00
Wez Furlong
6a58a5ce94
deps: harfbuzz -> 8.3.0 2023-11-22 17:41:38 -07:00
Wez Furlong
d419d9a543
docs: changelog for #4564 2023-11-22 14:57:06 -07:00
Wez Furlong
f4fb227e11
docs: changelog for #4565 2023-11-22 14:56:35 -07:00
Adam Simpkins
7b4d165c84 docs: fix minor variable name mismatch in the docs 2023-11-20 16:15:51 -07:00
Wez Furlong
721fbdf5dc
docs: changelog for #4563 2023-11-12 17:16:50 -07:00
Wez Furlong
edf17fc020
docs: changelog for #4534 #3962 2023-11-07 08:24:51 -07:00
Wez Furlong
d680953321
ci: use COPR for opensuse from now on
The images available to us on GH actions frequently break and I'm
tired of troubleshooting it and getting spammed by failed build
notifications around it.

I'm just going to use newer COPR builds for this platform from
now on.
2023-11-04 09:41:53 -07:00
Wez Furlong
ee73f26436
docs: fix emoji stuff
fec90ae04b didn't fix this the way I
thought it would.

refs: https://github.com/wez/wezterm/issues/4489
2023-11-04 07:51:27 -07:00
Wez Furlong
3e01871876
deps: wgpu -> 0.18 2023-10-30 07:41:12 -07:00
Benjamin Habié
bc99181fa2 docs: Fix typo 2023-10-29 18:41:47 -07:00
Wez Furlong
84782e9d1b
docs: changelog for #4457 2023-10-29 18:40:25 -07:00
Wez Furlong
fec90ae04b
docs: remove emoji extension
it's raising a warning, which promotes to an error in strict mode.
Sounds like it is going away, and we don't use it here anyway.
2023-10-17 09:15:26 -07:00
Wez Furlong
11dec45f08
docs: add debian 12 arm download
refs: https://github.com/wez/wezterm/issues/4134
2023-10-04 11:31:17 -07:00
Wez Furlong
80174a0454
docs: add ubuntu 22 arm download
and pave way for debian 12 version

refs: https://github.com/wez/wezterm/issues/4134
2023-10-04 10:27:30 -07:00
Wez Furlong
073d522083
docs: add info about installing via Copr 2023-10-03 10:40:57 -07:00
Wez Furlong
a61cc8eb64
docs: changelog for https://github.com/wez/wezterm/issues/4279 2023-10-02 07:53:48 -07:00
Frank Ebel
385c874514 docs: update Arch install location 2023-10-01 11:43:02 -07:00
evoshy
0af9366d15 Update appearance.md
typo at line 266
2023-10-01 11:42:13 -07:00
Wez Furlong
5e0fd1a06e
add wezterm record --cwd argument
refs: https://github.com/wez/wezterm/issues/4333
2023-09-29 09:30:24 -07:00
Wez Furlong
845fa5d4ae
add notification_handling option to control suppression
refs: https://github.com/wez/wezterm/issues/3727
2023-09-28 18:05:18 -07:00
Wez Furlong
0f894d7948
docs: changelog for #4257 2023-09-22 14:31:51 -07:00
Wez Furlong
bae73d34b5
color-schemes: fix gogh import
The cursor colors in gogh weren't imported quite right; this
fixes things up so that we use the background color together
with the cursor color from the scheme.

refs: https://github.com/wez/wezterm/issues/4257
2023-09-22 14:30:24 -07:00
Wez Furlong
23a0d56849
color schemes: fixup sync process, and sync
We could have duplicates in the raw data. Deal with that.
2023-09-22 14:30:23 -07:00
Wez Furlong
821f9f98a7
docs: changelog for #4226 #4227 2023-09-22 06:47:17 -07:00
Danielkonge
525080be89
Additions to the InputSelector (resolving #4226) (#4227)
* First step towards implementing #4226.
* Added InputSelector config options.
* Format + fix to prepare for PR to resolve #4226.
* Accept suggestion about pop().
* Fix typo.
* Tried fixing stuff from the feedback.
* Fixed typo.
* Fixed small mistake in docs.
* Small fix for label computation.
* Allow uppercase alphabet + add fuzzy_description.
* Minor cleanup.
* Use more standard alphabet (without j/k).
* Fixed docs after previous commit.
* Added key assignments to docs.
* Apply suggestions from code review (2 remaining)
* Updated arcording to feedback (added tests).
* Update docs (1 thing left to do)
* Added version details to the key table.

---------

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2023-09-22 06:42:43 -07:00
Wez Furlong
50cc44a53a
font-config: failed to resolve clusters like 3065,2686
Root cause is that font-config will try to find a single font that
satisfies a query like `fc-list ':charset=2686 3065'`, but if that
is impossible, there are no results.

The resolution is to split the query up and look for each individual
codepoint.

refs: #4310
2023-09-20 18:54:17 -07:00
Wez Furlong
f1be33939b
deps: update harfbuzz to 8.2.1 2023-09-20 17:59:05 -07:00
Wez Furlong
3e2b96755c
docs: clarify font_size
closes: #4303
2023-09-20 11:27:49 -07:00
Wez Furlong
65a9f95c75
docs: changelog for #4322 #3996 2023-09-20 11:24:02 -07:00
Wez Furlong
99c9613966
docs and derived files for zoom-pane
refs: #4160
2023-08-28 22:04:14 -07:00
Wez Furlong
a103b6d97a
fix CloseCurrentPane leaving a stranded pane in a tab
Repro for this issue was:

```console
$ WEZTERM_LOG=mux=trace,info ./target/debug/wezterm -n --config 'exit_behavior="CloseOnCleanExit"'
```

Then:

* Split left/right
* CloseCurrentPane

refs: #4030
2023-08-28 07:28:23 -07:00
Wez Furlong
2c95b98447
text cursor glyph renders at native cell size
Previously we'd use the scaled-by-line-height-and-cell-width dimensions
for the text cursor, leading to oddly dimensioned block cursors when
`line_height` or `cell_width` were configured.

This commit captures the native cell dimensions into the RenderMetrics
which makes it feasible for the glyph and sprite rendering logic to
reason about it.

The cursor rendering now renders at the native size and position by
using a transform to scale and translate into the correct spot.

We could potentially use the same technique for eg: braille or
other non-drawing characters
(https://github.com/wez/wezterm/issues/1957) although that is more
complex than just this commit.

refs: https://github.com/wez/wezterm/issues/2882
2023-08-26 14:11:13 -07:00
Wez Furlong
360ad2a3a9
fix strikethrough position for line_height != 1.0 2023-08-26 13:01:41 -07:00
Wez Furlong
b904ed7677
breaking(ish): pane.get_current_working_dir now returns Url
Previously we'd return the Url string.  Now we provide a Url
object that provides access to the various elements of the Url.

This will cause slightly breakage for folks that were treating
it as a string in their status event handlers, for example.

The docs have been updated to show how to run with both this
new Url object and also continue to run on older versions of
wezterm.

They now also show how to manually percent decode the url
for older versions of wezterm.

refs: https://github.com/wez/wezterm/discussions/4157
refs: https://github.com/wez/wezterm/issues/4000
2023-08-25 06:59:09 -07:00
Robson Roberto Souza Peixoto
547825072c doc: add missing config variable on tab_bar_style documentation 2023-08-25 05:25:27 -07:00
Wez Furlong
53988c7fe6
PaneSelect: add SwapWithActiveKeepFocus
refs: #3014
2023-08-24 22:32:19 -07:00
Wez Furlong
a9c7d28b09
PaneSelect: MoveToNewTab, MoveToNewWindow and show_pane_ids
refs: #4147
2023-08-24 19:56:46 -07:00
Wez Furlong
7c88c179e1
charselect: add emoji variations and new short codes section
Move the shortcode aliases out from the various emoji category
pages and into a new shortcode page.

Add variations, such as skin tones, to the different emoji
category pages.
2023-08-22 22:53:14 -07:00
Wez Furlong
098b928001
Update Noto Color Emoji to 2.038
This particular file has had the SVG table removed, reducing its
filesize from 23M down to 4.6M.

Previously, the png/bitmap based version was 9.5M, so this update
saves a few MB.

See discussion at:
https://github.com/harfbuzz/harfbuzz/discussions/4382#discussioncomment-6792813
2023-08-22 07:53:32 -07:00
Wez Furlong
89fbb87f0d
Add note about COLR v1 support
refs: https://github.com/wez/wezterm/issues/4148
2023-08-20 23:21:48 -07:00
Wez Furlong
6c7aa8159f
SHELL cleanup
* Allow set_environment_variables to set the SHELL.
  Previously, we'd always set it to the shell from the password
  database.  Now we do that by default, but if set_environment_variables
  has been used, we'll preserve that value for the environment
  of the to-be-spawned process

* Clarify the docs:
  * Remove the confusing version dependent sections that started
    with old behavior and rewrite in terms of the behavior that
    has been true for the past year
  * I've heard from a few people that they tried to change COMSPEC
    on Windows and pain ensued.  Try to nudge them to read the
    next paragraph that tells them what they are actually supposed
    to change.

refs: https://github.com/wez/wezterm/issues/4098
refs: https://github.com/wez/wezterm/issues/4168
closes: https://github.com/wez/wezterm/issues/3816
refs: https://github.com/wez/wezterm/issues/3317
2023-08-20 10:42:38 -07:00
Felipe
b112fb3f7a docs: fix typo in what-is-a-terminal.md
Change forsee to foresee.
2023-08-20 09:43:09 -07:00
UserIsntAvailable
fd9afa18c6 add awesome to default tiling_desktop_environments. 2023-08-19 16:31:09 -07:00
Gabriel Nützi
f2d78ff60d docs: improve visualizations in TTY and PTY explanations 2023-08-18 20:57:51 -07:00
Gabriel Nützi
2516afa249
docs: fix typo in what-is-a-terminal.md (#4154)
* docs: fix typo in  `what-is-a-terminal.md`

* Update docs/what-is-a-terminal.md

---------

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2023-08-16 05:11:47 -07:00
Wez Furlong
edbf4ac1e4
add experiemental svg font support
The vertical alignment is wonky, and some glyphs have the wrong
aspect and are missig colors. eg: the watermelon glyph in Noto Color
Emoji (U+1f349).

Turn this off by default, and skip loading fonts that have svg by
default.
2023-08-15 10:33:45 -07:00
Wez Furlong
3b4d82e74c
docs: changelog for #3937 2023-08-06 10:25:08 -07:00
Wez Furlong
085e8da478
macos: fonts: use alternative fallback approach
The approach we were using previously was to ask macOS for the fallback
font list, but it didn't include the correct fonts for certain
codepoints.

Switch to using an alternative API that asks macOS which font to use for
a specific codepoint.

refs: #4099
2023-08-05 18:15:08 -07:00
Wez Furlong
a7c6ea8c1e
deps: harfbuzz -> 8.1.1
Second attempt to get on 8.1, tests seem good!

refs: https://github.com/harfbuzz/harfbuzz/issues/4358
2023-08-02 19:06:52 -07:00
xqrdot
419210bc14 corrected front_end.md 2023-08-02 07:15:27 -07:00
Wez Furlong
ca9cf23019
Revert "deps: harfbuzz -> 8.1.0"
This reverts commit e7bf2b4088.

The tests fail when built and run in release mode. There's
something fishy that needs investigation; will do so later.
2023-07-31 23:10:25 -07:00
Wez Furlong
e7bf2b4088
deps: harfbuzz -> 8.1.0 2023-07-31 22:32:21 -07:00
Wez Furlong
d1d4db20be
cargo update
Transitive deps now require rust 1.71, so update for that, as well
as some other minor changes required by transitive deps.
2023-07-30 20:09:15 -07:00
Ran Shaham
afb485eb47 docs: fix building without wayland command 2023-07-30 07:20:49 -07:00
Wez Furlong
3aa7da611a
fixup doc build for mkdocs 1.5 2023-07-26 16:10:42 -07:00
Wez Furlong
a07ab883af
persist charselect, repl history and others in data dir
We were using the runtime dir with a fallback to a directory
that was equivalent to the data dir on !xdg systems.  That
meant that the state in the runtime dir was often scrubbed
around a reboot.

refs: https://github.com/wez/wezterm/discussions/4019
refs: https://github.com/wez/wezterm/issues/4047
2023-07-22 10:31:03 -07:00
Wez Furlong
3e3df823e4
deps: update wgpu -> 0.17
Pick up my fix from https://github.com/gfx-rs/wgpu/pull/3924

closes: https://github.com/wez/wezterm/issues/3612
2023-07-22 08:00:59 -07:00
Wez Furlong
e048410491
imgcat: add resize and resample functionality
This is primarily to improve the chances of displaying an arbitrary
image without resorting to additional external tools, that may be
difficult or impossible to install.

refs: #3716
refs: #3264
2023-07-17 10:55:53 -07:00
Wez Furlong
69e610041b
sync color schemes 2023-07-16 23:13:08 -07:00
Wez Furlong
7214470073
docs: fix typo
closes: https://github.com/wez/wezterm/issues/4006
2023-07-16 12:31:27 -07:00
Wez Furlong
360247fe8d
windows: remove positional mods from termwiz overlay panes
otherwise, the termwiz line reader can become confused and
fail to recognize key presses like `(` which have SHIFT and LEFT_SHIFT
set.

refs: https://github.com/wez/wezterm/issues/3999
2023-07-16 09:45:22 -07:00
Wez Furlong
b7771feef6
imgcat: work better with tmux and conpty
Neither of these understand image protocols, and both are
an additional processing layer between the application and
wezterm.

This commit detects and wraps OSC sequences in tmux's passthru
sequence so that the data is passed on to wezterm rather than
elided from the data stream.

For image protocols in both tmux and conpty, work a little
smarter and explicitly move the cursor position to the same
location that wezterm would move it to.  That prevents the
display from being as mangled by tmux/conpty due to a diverging
understanding of the cursor position.

The logic isn't perfect, and can result in the x-coordinate
being incorrect, and this won't work with the new --position
argument either in its current state, without adding a lot
of complexity to deal with scrolling and relative and absolute
positioning handling.

To facilitate that, a new termwiz Terminal trait method has
been added to probe the terminal name, version, cell and pixel
dimensions. It's not pretty.

refs: https://github.com/wez/wezterm/issues/3624
refs: https://github.com/wez/wezterm/issues/3716
2023-07-15 22:13:19 -07:00
Wez Furlong
2e505ad869
imgcat: add --position, --no-move-cursor and --hold options
These allow additional control over image placement

refs: https://github.com/wez/wezterm/issues/3716
2023-07-15 16:27:52 -07:00
Wez Furlong
b54b0ce404
fix old NF 2.0 symbols for shortcuts in command palette
These got overlooked because they weren't using symbolic names.
Fix that while we're in here.

refs: #3988
2023-07-14 11:08:39 -07:00
Wez Furlong
af6134df4f
docs: fedora 35 is no longer supported 2023-07-12 12:59:37 -07:00
Wez Furlong
dfd1bb0ea4
docs: update for available linux builds
refs: https://github.com/wez/wezterm/issues/3973
2023-07-12 12:57:19 -07:00
Wez Furlong
5d1136d29b
Revert "front_end defaults to OpenGL again"
This reverts commit f4abf8fde7 so that
webgpu is the default again in nightly builds
2023-07-12 07:47:12 -07:00
Wez Furlong
35df521f76
docs: update for release 2023-07-12 07:46:13 -07:00
Wez Furlong
f4abf8fde7
front_end defaults to OpenGL again
Feels safest to do this until we can make a smoother fallback
experience for webgpu.

I will revert this after tagging the release so that nightly
runs webgpu by default.
2023-07-12 07:26:01 -07:00
Wez Furlong
28dcea0ab6
deps: harfbuzz -> 8.0.1 2023-07-12 06:37:34 -07:00
Wez Furlong
c7ff432581
mux server: register additional domains
Relocate the helper function to mux-server-impl and have both the GUI
and the mux server call it at the appropriate times.

Introduce default_mux_server_domain which is used instead of
default_domain in the mux server.  This is to avoid recursive
cycles when starting up the mux; we don't want the default
domain to be a unix client that connects to our selves because
we'll try to connect to ourselves, then in act of handling that
spawn in the default domain and try to connect to ourselves and
repeat.

refs: https://github.com/wez/wezterm/issues/3907
2023-07-11 09:34:34 -07:00
Wez Furlong
51294e03c1
docs: link tab:set_title to PromptInputLine example 2023-07-11 06:56:13 -07:00
Wez Furlong
64c3759091
docs: fix see-also list
mkdocs is a bit particular about markdown list syntax
2023-07-10 22:54:06 -07:00
Wez Furlong
58434ef685
docs: faq: add note about macos and sparse default path 2023-07-10 22:48:22 -07:00
Wez Furlong
d07ec3e8bb
docs: changelog for #3674 2023-07-10 17:17:39 -07:00
Wez Furlong
b9c23d19a1
new exit_behavior_messaging option
Controls the message that is shown when holding a pane open
after a process has completed.

refs: #3423
2023-07-10 17:14:48 -07:00
Wez Furlong
be6a350668
docs: changelog for #3856 2023-07-10 12:56:08 -07:00
Wez Furlong
59dd1b0098
docs: changelog for #3908 2023-07-10 06:35:12 -07:00