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

7725 Commits

Author SHA1 Message Date
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
Wez Furlong
69e085829f
cargo update 2024-01-28 20:21:56 -07:00
Wez Furlong
c75c15b9ca
macos: fall back to old font fallback approach
In https://github.com/wez/wezterm/issues/4877 it became clear that
the newer approach for finding fallback fonts is only better than
the old approach in some cases, so this commit adds a fallback
to the old approach if the new one didn't yield any usable results
for a given codepoint.

refs: #4099
2024-01-28 16:19:58 -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
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
Ryan
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