Commit Graph
7718 Commits
Author SHA1 Message Date
Wez Furlong d545e215c8 flatpak: update some metadata 2024-01-28 07:59:20 -07:00
Wez Furlong d6d70cc0a7 run ci/update-derived-files.sh 2024-01-28 07:59:20 -07:00
jonboh 820c451b57 add small helper function to better express bool casting 2024-01-28 07:59:13 -07:00
jonboh 500f84617e fix kitty image protocol display parameters 2024-01-28 07:59:13 -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 08413ba87a Cargo.lock: update 2024-01-27 12:48:41 -07:00
Wez Furlong 1e27cded2f update flatpak runtime version
Looking at this because the build failed in the latest release:
https://github.com/flathub/org.wezfurlong.wezterm/pull/16
2024-01-27 12:46:31 -07:00
Wez Furlong fdcf1a794b bidi: prep for crates.io update 2024-01-27 12:18:17 -07:00
Wez Furlong 1d4d6df045 color-types: prep for crates.io publish 2024-01-27 12:16:47 -07:00
Wez Furlong d5ca5509b9 wezterm-input-types: prep for crates.io publish 2024-01-27 12:13:39 -07:00
Wez Furlong b956a6ac30 wezterm-blob-leases: prep for crates.io publish 2024-01-27 12:11:08 -07:00
Wez Furlong f472a5abfb wezterm-dynamic: bump version of crates.io publish
Not sure if it is strictly necessary to do this, but stuff
has changed since the last publish.
2024-01-27 12:09:16 -07:00
Wez Furlong bbcac86436 sync color schemes 2024-01-27 11:36:34 -07:00
Wez Furlong dd039402da sync-color-schemes: gogh schema changed slightly 2024-01-27 11:35:26 -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
Jeffrey Knockel 178f35a496 wayland: consider base in resize increment calc
This corrects the calculation so that the # of terminal cells will not
change on a scale change.
2024-01-26 12:26:53 -07:00
Wez Furlong d82283364a x11/wayland: fixup altgr in eg: azerty layout
It's important not to clobber the layout number, and we need to
pass through more of the modifier bits from the X event, so we
just pass them all through wholesale.

refs: https://github.com/wez/wezterm/issues/4864
2024-01-26 06:51:50 -07:00
ErrorNoInternet d5c4f8782c chore(nix): update hashes for git
It is no longer fetched from git.
2024-01-26 06:00:57 -07:00
ErrorNoInternet c13bd406ea ci: actually build wezterm 2024-01-26 06:00:57 -07:00
hyperpuncher 0839745aaf fix: disproportionate cursor 2024-01-26 05:29:32 -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
RyanandWez Furlong 27259cb857 fix: render bar cursors on topmost layer (#4850)
* fix: render bar cursors on topmost layer

* avoid cost of building error string unless layer allocation fails

---------

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-01-25 08:22:04 -07:00
Wez Furlong 750b7ae849 x11: refactor selection logic in the spirit of DRY
This also will fulfil the promise in an error case which may help
things to be a bit more robust.

refs: https://github.com/wez/wezterm/issues/4402
2024-01-25 07:31:23 -07:00
Wez Furlong 2afa36d9b1 x11: more actively try to fallback to STRING for selection
If we get NONE back in response to our request for a utf8 selection,
repeat the request but for STRING.

refs: https://github.com/wez/wezterm/issues/4402
2024-01-25 07:21:51 -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
Jeffrey Knockel 642bfbb69a macos: set minimum increment size to 1x1 cells 2024-01-24 22:04:16 -07:00
Jeffrey Knockel 4546133d35 wayland: set minimum increment size to 1x1 cells 2024-01-24 22:04:16 -07:00
Jeffrey Knockel b0193850be x11: set minimum increment size to 1x1 cells
Depending on the amount of padding, we could previously resize to get a
negative size displayed by the window manager's overlay (e.g., 80x-1 for
a very short window displaying zero terminal lines and only partially
showing the top of the tabs).  We would also like to avoid 80x0 or 0x24
dimensions as these can render funny.  For example, when there is a lot
of padding, an 80x0 size can still show part of the top of the first
line despite it being a cell height of zero.
2024-01-24 22:04:16 -07:00
Jeffrey Knockel 0462f318d7 Set base_width/height in set_resize_increments
On X11, this information is set as part of the hints given to the window
manager. When resizing the terminal, many X11 window managers will now
correctly report the current cell size of the terminal (e.g., 80x24) as
an overlay when resizing the window.
2024-01-24 22:04:16 -07:00
Jeffrey Knockel c70e2fea28 Move set_resize_increments() to apply_dimensions() 2024-01-24 22:04:16 -07:00
Jeffrey Knockel f204f0f1a9 Refactor set_resize_increment() args into struct 2024-01-24 22:04:16 -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
Chris Olszewski 1670b648b7 chore: add signal getter on exit status 2024-01-24 12:51:39 -07:00
fortuneteller2k 328b1f3b15 macos/clipboard: use try_quote instead of quote 2024-01-24 11:57:03 -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 079e87d62e fixup issue with compose key
this partially reverts eb3a78b0cb and
should hopefully resolve the underlying problem, which is that
the composition cursor is stuck at an empty string when using
a compose key on its own.

refs: https://github.com/wez/wezterm/issues/4841
2024-01-24 06:58:07 -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