Commit Graph
7165 Commits
Author SHA1 Message Date
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 JonesandWez Furlong 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 FurlongandDominik Kreutzer 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
Wez Furlong d0f972ab37 kitty keyboard: refine numpad reporting some more
refs: https://github.com/wez/wezterm/issues/3478
2023-04-15 19:40:38 -07:00
Wez Furlong 2b9ee388e3 refactor: move encode_modifiers to Modifiers::encode_xterm 2023-04-15 19:27:57 -07:00
Wez Furlong a562cb5a92 kitty keeb: avoid sending function codes in mode 1
refs: #3626
2023-04-15 19:15:26 -07:00
Wez Furlong c544b0edce fix termwiz non-serde enabled build 2023-04-15 16:15:06 -07:00
Wez Furlong addeb9e248 add test case for #3526 2023-04-15 15:50:50 -07:00
Wez Furlong 46bc9f57c5 fix test build 2023-04-15 15:42:05 -07:00
Wez Furlong 0bb9a2896e keyboard: populate caps and num lock on windows 2023-04-15 15:22:40 -07:00
Wez Furlong f5d8e52094 keyboard: fixup build on win32 2023-04-15 15:06:23 -07:00
Wez Furlong 7ff88280f3 keyboard fixup build on x11/wayland 2023-04-15 15:00:03 -07:00
Wez Furlong 3c40846d95 keyboard: move led status to separate enum 2023-04-15 14:52:54 -07:00