Commit Graph
1697 Commits
Author SHA1 Message Date
Wez Furlong c54548df7e Fix ClearToEndOfLine in last column when wrap_next=true
Given a sequence like this, where the `ESC [ K` sequence is
emitted at the last column when wrap_next=true:

\u001b[47;30m  17:24:50 \u001b[0m\u001b[K

rather than treating the column as out of bounds, we'd clear the
final cell.

refs: #3548
2023-05-29 16:01:11 -07:00
Wez Furlong e0a4ebd586 implicitly reset palette when setting it to the equivalent of the config
refs: #3685
2023-05-29 14:46:43 -07:00
Wez Furlong 3ab286bc68 docs: changelog for #3531 2023-05-29 07:08:58 -07:00
Wez Furlong 71819b4abc more fallout from Nerd Font symbols breaking changes in 3.0 2023-05-28 20:08:21 -07:00
Wez Furlong eabdf9cf1c docs: changelog for #3767 2023-05-28 09:19:23 -07:00
Wez Furlong cf3bc814ba docs: changelog for #3703 2023-05-28 09:03:16 -07:00
Wez Furlong f0b58ea083 Apply suggestions from code review 2023-05-28 09:01:22 -07:00
Ye Sijun 95ab807aab add color config for char select
Signed-off-by: Ye Sijun <junnplus@gmail.com>
2023-05-28 09:01:22 -07:00
Wez Furlong 30ef02ff56 docs: add docs for anti_alias_custom_block_glyphs
refs: #3788
refs: #1817
refs: #1753
2023-05-28 08:44:54 -07:00
Wez Furlong 05a2d63398 ci: remove alpine
per discussion on https://github.com/wez/wezterm/pull/3089 we don't
need to build for alpine any longer.
2023-05-27 14:10:07 -07:00
David O'Trakoun 13c0ba3776 fix docs - pane:split takes Top/Bottom 2023-05-27 09:50:03 -07:00
Wez Furlong 856c1ae371 docs: ssh: mention IdentityAgent
refs: https://github.com/wez/wezterm/issues/3775
2023-05-26 13:30:07 -07:00
Lorenzo Zabot 1cd340bbd2 docs: fix typo 2023-05-24 06:20:11 -07:00
eduardo apolinario bb23d0463c Fix typo: psuedo -> pseudo
Signed-off-by: eduardo apolinario <eapolinario@users.noreply.github.com>
2023-05-22 11:59:55 -07:00
Jacob Rodgers fce2caae82 docs: leader key bypass example 2023-05-22 09:00:18 -07:00
Wez Furlong 098e0e0201 fix CopyMode(EditPattern) not activating search_mode key table
refs: #3746
2023-05-21 10:04:56 -07:00
Wez Furlong e4b96bd9bb update Symbols Nerd Font Mono to v3.0.1 2023-05-21 09:34:10 -07:00
Wez Furlong 134bf0a74d fix decoding of grayscale pngs
refs: #3742
2023-05-19 06:31:33 -07:00
Wez Furlong 6bcb8eed56 add i3 to default tiling_desktop_environments 2023-05-17 06:34:45 -07:00
follower 4b4b936669 Fix typo. 2023-05-16 20:41:49 -07:00
Wez Furlong bdb173f18f webgpu: avoid panic when we try to exceed max texture size
This echoes equivalent logic we have for EGL; what happens when
this triggers is that we'll retry rendering with images disabled.

refs: #3713
2023-05-13 07:36:21 -07:00
Wez Furlong b44dce00f2 docs: changelog for #3663 #3665 2023-05-07 11:07:48 -07:00
Wez Furlong 27fbff4ae1 show terminal background while waiting for background image to load
Avoid a "flash" of a single black but likely overly stretched and
awkwardly interpolated frame while we wait for big/animated/complex
images to load and decode.

For corrupt images, or images with an incorrect or typo'd filename in
the config, this prevents us from punting and just showing a transparent
background instead of something reasonable.
2023-05-07 09:16:44 -07:00
winston d0e9a03440 docs: fix typo in wezterm.color square() 2023-05-01 08:46:19 -07:00
Wez Furlong ff3229510f docs: fix ctrl-shift-p entry in default-keys
closes: #3650
2023-05-01 08:37:56 -07:00
Wez Furlong 9bc7de70ea fix image display in wezterm ssh
Move the blob lease init into the common code, rather than just
the bit that runs for the regular gui init.

refs: #3624
2023-04-27 06:35:11 -07:00
Wez Furlong 6686adba04 fix panic with corrupt webp file
There were a couple of layers of issue here:

* In the ImageDataType::decode method, we didn't detect and do something
  reasonable when the decoded image had 0 frames, later leading to
  a panic in glyphcache when trying to index frame 0 of an empty vec.
* We shouldn't have been using ImageDataType::decode for window
  background images
* Make the fallback/placeholder black rather than fully transparent
  in the more modern decoder thread routine that we use for image
  decoding at the gui layer.

refs: #3614
2023-04-25 08:39:42 -07:00
Wez Furlong 154dfae9b9 docs: changelog for #3555 #3613 2023-04-24 22:15:05 -07:00
Wez Furlong de9d9bc588 docs: changlog for #3585 #3507 2023-04-24 11:14:59 -07:00
Wez Furlong 9ec7973326 webgpu: allow using pre-multiplied alpha if available
We prefer post-multipled, but if the implementation doesn't
support that, pretend that we are pre-multiplied.

refs: https://github.com/wez/wezterm/issues/3589
2023-04-23 14:19:57 -07:00
Wez Furlong f8bafc3c67 palette: add augment-command-palette event
This allows the user to add entries to the command palette without
having to define dummy key assignments for them.

refs: https://github.com/wez/wezterm/issues/3595
2023-04-23 09:39:16 -07:00
Wez Furlong 70d809fa88 un-zoom/re-zoom around PaneSelect
refs: https://github.com/wez/wezterm/issues/3573
2023-04-20 21:52:09 -07:00
Wez Furlong e771fa4c5e docs: changelog for #3334 2023-04-20 08:07:25 -07:00
Wez Furlong 006b0cc52b docs: changelog for #3564 2023-04-20 08:04:28 -07:00
Wez Furlong 8c975a7681 keys: don't hide mouse cursor when pressing only modifier keys
Further constrain the hiding logic for key-down events, so that
we are less likely to hide for things ctrl-shift-c when the user
is mousing around and copy/pasting.

Also, consider CapsLock to be a modifier for this and other
similar purposes.

refs: #3570
refs: #3306
2023-04-20 07:53:20 -07:00
Asher 39638059ef Update format-tab-title.md 2023-04-20 07:12:41 -07:00
Wez Furlong 15f00ebf0c deps: freetype -> 2.13.0 2023-04-19 22:29:09 -07:00
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 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 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 79e82d3054 docs: note about flatpak limitations
refs: https://github.com/wez/wezterm/issues/3552
2023-04-17 18:15:27 -07:00
Wez Furlong b9f6bbd495 make the default front_end=WebGpu 2023-04-17 18:00:51 -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