Wez Furlong
4038b80048
deps: update harfbuzz to 7.1.0
2023-04-19 22:11:21 -07:00
Wez Furlong
af2df3e8f3
ci: rm fedora 35, add fedora 38
2023-04-19 21:51:17 -07:00
Wez Furlong
d5eee1817a
deps: upgrade wgpu 0.15 -> 0.16
2023-04-19 21:48:13 -07:00
Wez Furlong
e204f8ba49
wayland: set_cursor: use exactly the caller-provided serial
...
Don't fallback to some other serial.
In a new version of SCTK, it looks like the serial we pass should
be the serial from the time we entered the surface, rather than
the latest serial that we have.
In practice, this commit uses None for the serial which seems to
have better results, but may come back to haunt us until we upgrade
to the latest SCTK.
refs: https://github.com/wez/wezterm/issues/3334#issuecomment-1515141539
2023-04-19 10:55:47 -07:00
Wez Furlong
048e8dd1ba
wayland: fall back to 'default' for pointers that are not found
...
This allows for potentially listing multiple candidate cursor names,
like we do for x11, but doesn't add any.
Attempt to load default if our desired cursor is not found.
refs: https://github.com/wez/wezterm/issues/3334
2023-04-19 10:29:40 -07:00
Wez Furlong
21e19ca091
x11/wayland: improve non-latin ctrl/alt keypresses
...
For eg: RU layout, CTRL-S shouldn't result in ы in the context
of a terminal.
The approach taken here is similar to kitty; when the key combination
doesn't produce a definitive composed output, and when any of
ctrl/alt/super are present, we treat the keypress as though it were
the same as the one from the system default keymap.
The result is that ctrl-c now works like ctrl-c and alt-b and alt-f work
like their latin counterparts.
Hopefully there are no downsides to this!
refs: https://github.com/wez/wezterm/issues/2845
refs: https://github.com/kovidgoyal/kitty/issues/606
2023-04-19 09:37:58 -07:00
Wez Furlong
db720bd78c
docs for #3559
2023-04-18 15:06:23 -07:00
Wez Furlong
68928178ed
rustfmt
2023-04-18 15:05:05 -07:00
Josiah Outram Halstead
588ce8013f
Add custom eighth block corner glyphs
2023-04-18 15:04:47 -07:00
Wez Furlong
0a47f8ea76
remove transitive dep on time 0.1
...
chrono still is pulling this in for some reason. Super frustrating.
refs: https://github.com/chronotope/chrono/issues/602
2023-04-18 13:53:59 -07:00
Wez Furlong
44eccffe0c
macos: fix font size issue when spawning on external monitor
...
The main part of the problem is that NSWindow::isZoomed lies to us
sometimes.
This is a relatively gross workaround.
Add missing invalidation after setting the content size; that prevents
janky when dragging the window between monitors.
Removed some redundant Dimensions computation from that method; nothing
ever read it.
refs: https://github.com/wez/wezterm/issues/3503
2023-04-18 10:35:58 -07:00
Wez Furlong
7dc146708d
docs: update changelog for #3471 #3491
2023-04-18 08:36:04 -07:00
Mat Jones
2f4266cb6a
feat: resize pane from CLI ( #3491 )
...
* WIP resize pane from CLI
* fix response types
* fix: remove unneeded `import std::usize;`
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
* fix: update derived files
* fix: update codec version
* chore: update changelog.md
* fix: remove unneeded `import std::usize;`
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
* chore: update changelog.md
* remove erroneous changelog.md change
* remove erroneous changelog.md change
* remove whitespace changes
---------
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2023-04-18 08:34:39 -07:00
Wez Furlong
57f07083c7
docs: try to make it easier to find the full list of options
...
refs: https://github.com/wez/wezterm/discussions/3545#discussioncomment-5645235
2023-04-18 07:58:00 -07:00
Wez Furlong
1e8fd7a95b
expand tiling_desktop_environments list
2023-04-17 22:35:02 -07:00
Wez Furlong
87cd9c5f6c
adjust_window_size_when_changing_font_size now considers tiling WMs
...
It's a little limited in the scope of its detection: we have a built-in
list of tiling WM environments and if the current one is on the list
then we set an appropriate value for this option.
The list currently has just a single entry.
2023-04-17 21:58:08 -07:00
Wez Furlong
51c8a20465
ci: better segment cirrus build steps
2023-04-17 20:40:41 -07:00
Wez Furlong
c3e759b6f6
ci: adjust freebsd order of operations
2023-04-17 20:35:05 -07:00
Wez Furlong
1a7ca22279
ci: maybe improve freebsd caching and build performance
2023-04-17 20:32:34 -07:00
Wez Furlong
4b14b33f26
ci: update to newer freebsd
...
CI has been failing a bit there with a weird libcurl symbol
resolution problems.
Let's try a newer release of freebsd and see if it works itself out.
2023-04-17 20:21:52 -07:00
Wez Furlong
e6f9c3dffe
bug template: add note about flatpak
2023-04-17 18:32:48 -07:00
Wez Furlong
79e82d3054
docs: note about flatpak limitations
...
refs: https://github.com/wez/wezterm/issues/3552
2023-04-17 18:15:27 -07:00
Wez Furlong
bcac0bfa8f
debug overlay: OpenGL version -> WebGpu for webgpu
...
Don't prefix the renderer info with OpenGL.
Make the per-renderer include that prefix.
2023-04-17 18:09:01 -07:00
Wez Furlong
b9f6bbd495
make the default front_end=WebGpu
2023-04-17 18:00:51 -07:00
axtloss
95a55959bc
Bump flatpak runtime to 22.08
2023-04-17 16:17:03 -07:00
Wez Furlong
040a079b82
termwiz: input: avoid panic for certain numpad keys
...
refs: #3543
2023-04-17 08:04:29 -07:00
Wez Furlong
38da9d7e51
docs: win32_system_backdrop
...
refs: #3528
refs: https://github.com/wez/wezterm/issues/1614
2023-04-17 07:04:00 -07:00
Wez Furlong
163dfd7d9a
windows: refine DwmExtendFrameIntoClientArea call
2023-04-17 06:33:02 -07:00
kingavatar
08e9be0df3
feat: calling extendframe function to get sheet of glass effect
2023-04-17 06:33:02 -07:00
Wez Furlong
c4145a464b
windows: more consistently enable/disable backdrop on older windows
...
When the user edits their config, this should stand a better chance
of the desired effect being enabled and not requiring a restart.
refs: #3528
2023-04-17 06:33:01 -07:00
kingavatar
eef5ffb0ce
feat: add acrylic accent color as config and other refactors
2023-04-17 06:33:01 -07:00
kingavatar
a0b625985e
feat: add systembackdrop like acrylic and mica for windows os
...
Added functionality which enables Setting SystemBackdrop for windows os like mica, Acrylic, tabbed.
2023-04-17 06:33:00 -07:00
Wez Furlong
a4cf01dd55
docs: changelog for various kitty keyboard issues
2023-04-16 20:59:11 -07:00
Wez Furlong
f3ee5e57f0
x11/wayland: route modifier/led status change to window
...
refs: https://github.com/wez/wezterm/issues/3444
2023-04-16 20:37:45 -07:00
Wez Furlong
075388fbe5
add window:keyboard_modifiers() method
2023-04-16 19:53:32 -07:00
Wez Furlong
572c31fb30
kitty keeb: fixup backspace
...
refs: #2546
2023-04-16 14:37:24 -07:00
Wez Furlong
3f820b93d9
Fix win32 input mode encoding inconsistencies
...
This pulls in almost all of the original PR in #2235 .
I skipped a dead key case that I recall being tricky:
I didn't want to break the non win32-input mode version
of that.
I'd be happy to have that case re-evaluated in a smaller
PR where we can focus on its details.
Co-authored-by: Dominik Kreutzer <kreudom@gmail.com>
2023-04-16 13:07:18 -07:00
Wez Furlong
7aa611f4cb
windows: fix linger wezterm-gui when closing with overlay active
...
refs: #3522
2023-04-16 12:23:00 -07:00
Wez Furlong
6d3dee733f
windows: fix maximize button with OS titlebar
...
refs: #3499
2023-04-16 11:56:05 -07:00
Wez Furlong
f627d6d704
windows: improve hit test for integrated max button
...
refs: https://github.com/wez/wezterm/issues/3499
but isn't the cause of it
2023-04-16 11:37:58 -07:00
Wez Furlong
ba64239c0a
add basic doc issue template
2023-04-16 09:20:37 -07:00
Wez Furlong
faf371fbdd
docs: fix raw linux binary download
...
closes: https://github.com/wez/wezterm/issues/3536
2023-04-16 09:16:54 -07:00
Lokesh Krishna
ea5b86b469
Update appearance.md
...
Changes `window.colors` to `config.colors`
2023-04-16 09:12:44 -07:00
Wez Furlong
4ba653c716
fix width of format-tab-title that returns embedded escapes
...
closes : #3481
2023-04-16 08:28:35 -07:00
Wez Furlong
8435a12e12
rustfmt
2023-04-16 06:57:28 -07:00
Wez Furlong
6ec11393d5
fix decoding png images without an alpha channel
...
refs: #3529
2023-04-15 23:59:02 -07:00
Wez Furlong
8d0b84a5ce
glyphcache: add some more error context
2023-04-15 23:33:50 -07:00
Wez Furlong
8c931dcbcb
paint: add some error context
...
The error described in https://github.com/wez/wezterm/discussions/3527
is missing context, so add a bit more.
2023-04-15 23:15:53 -07:00
Wez Furlong
5fc9349c92
kitty keeb: use raw modifiers rather than normalized modifiers
...
refs: https://github.com/wez/wezterm/issues/2546
2023-04-15 22:57:53 -07:00
Wez Furlong
bdbedad38a
kitty keyboard: more test cases for #2546
2023-04-15 19:45:12 -07:00