Commit Graph
624 Commits
Author SHA1 Message Date
yoonhc 9c04f79f86 docs: mention Fcitx5 X11 inline preedit setup (#8055) 2026-08-15 14:38:15 +02:00
Jesse Portnoy b16aa977e3 docs: fix typos (#8008) 2026-08-04 16:07:57 +02:00
Calle Helmertz 9554bdd04d feat: smart case search (#7385)
Add "smart-case" into the cycling of already existing search modes.

Fixes #6018
2026-07-31 08:32:02 +02:00
Hagai Gold 46a166d6dc Update SshDomain.md (#7988)
identity file should be the private key
2026-07-29 11:52:29 +02:00
1Capito1andBenoit de Chezelles 6f3d3d84f2 wayland: Support blur via ext-background-effect-v1 protocol (#7615)
* Add ext-background-effect-v1 support for wayland
* Deprecate `kde_window_background_blur`; use `wayland_window_background_blur`
* Update changelog (replace old kde… option entry with wayland…)

---------

Co-authored-by: Benoit de Chezelles <benoit.dechezelles@gmail.com>
2026-07-13 18:57:32 +02:00
Benoit de Chezelles 988133f533 docs: Improve 'see also' links between QuickSelect & QuickSelectArgs 2026-06-17 23:11:22 +02:00
Tautik AgrahariandBenoit de Chezelles 297637504a Fix 'the the' typos across doc & code files (#7769)
* docs: fix duplicate-word typos across doc files
* code: fix duplicate 'the the' typos across code files

Co-authored-by: Benoit de Chezelles <benoit.dechezelles@gmail.com>
2026-06-04 14:09:39 +02:00
Matt Dembiczak 760ed023e4 docs: fix typo in quick_select_alphabet.md (#7169) 2026-06-04 13:46:42 +02:00
KevinSilvester 21f656f931 docs: add missing panes field to TabInformation (#7710) 2026-06-04 13:31:13 +02:00
Kenneth Jefferson 6a493f88fa docs: Fix typo in augment-command-palette.md
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
2025-07-30 19:57:51 +01:00
Kenneth Jefferson ac11fcfa41 fix: Corrected bad title in MoveForwardWordEnd.md
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
2025-07-30 19:57:51 +01:00
Wez Furlong 5106c8c1f7 docs: add since-nightly to kde_window_background_blur
refs: https://github.com/wezterm/wezterm/pull/6905
2025-06-04 06:01:57 -07:00
ad44b159c2 feat(mark-last-tab): append last tab name with '*' (#6895)
* feat(mark-last-tab): append last tab name with '*'

I think there should be a better method instead of make the save function so crowded.
But this works for now similar to `tmux` windows. But, `tmux` is using '*' for current and '-' for last
Hardcoded '*'

* Revert "feat(mark-last-tab): append last tab name with '*'"

This reverts commit 6f11c16dd9b034977088820fbc86a4456df9d513.

* feat(tab): add is_last to indicate previous active tab - last tab.

Add usage example to format-tab-title.md
Add docs to TabInformation.md

Couldn't add tests, perhapse can you guide on adding test for this?

* Update docs/config/lua/TabInformation.md

renaming as suggested.

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* Update wezterm-gui/src/termwindow/mod.rs

renaming as suggested.

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* Update docs/config/lua/window-events/format-tab-title.md

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* refactor: rename `TabInformation` attribute to `is_last_active`

---------

Co-authored-by: Omar Elmasri <omarmasri@duck.com>
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2025-05-11 22:20:21 -07:00
Wez Furlong 4a210168e1 add new text_min_contrast_ratio option
This can help improve readability by forcing the foreground
color luminance to adjust to increase the contrast ratio to
the specified value.
2025-05-10 09:29:08 -07:00
James HurstandWez Furlong af8d521ef6 feat: enforce minimum contrast ratio for reverse video cursor (#6584)
* feat: enforce minimum contrast ratio for reverse video cursor

* feat: add reverse_video_cursor_min_contrast to config

---------

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2025-05-09 09:54:39 -07:00
parthandWez Furlong 4d6b83585f feat: Added support for window blur on KDE Wayland (#6905)
* added config flag for kde blur

* added deps for wayland-protocol-plasma

* added kde background blur

* keeping inner functions together

* updated docs with kde_blur

* added kde_blur ss to docs

* removed unneeded dep

* removed redundant default value for bool

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* updated default for kde_blur in config

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* Update docs/config/lua/config/kde_window_background_blur.md

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* Update blur logic in os/wayland/window.rs

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* simplified blur_manager creation in wayland/state.rs

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* removed unnecessary panic paths

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* removed unnecessary panic path

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* put the right screenshot for kde_blur

* fixed build issues

* reverted window/src/os/windows/window.rs

* fixed formatting

* Update window/src/os/windows/window.rs

---------

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2025-05-04 06:29:27 -07:00
Wez Furlong bd094e8fab docs: format examples 2025-05-03 06:59:43 -07:00
HAMANO TsukasaandWez Furlong 8ec1f2451c add cell_widths option #6289
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2025-05-03 06:56:33 -07:00
MatejKastak d0a0208df3 docs: Fix broken link in to_string.md 2025-05-03 06:28:35 -07:00
Ian Chamberlain a9cd8abc1e docs: fix title of get_progress() page 2025-05-03 06:27:52 -07:00
avrong 231a2587f7 docs: fix typos in SpawnCommand docs 2025-05-03 06:27:30 -07:00
Wez Furlong f06d6fc04f docs: changelog for #6328 #6873 #6875 2025-04-15 05:23:44 -07:00
mgpinf 9606fa2569 Add font configuration option for ActivateCommandPalette, CharSelect, PaneSelect (#6696)
* feat: option to configure font for ActivateCommandPalette, CharSelect, PaneSelect

Add configuration option for font for the below entities:
- ActivateCommandPalette
- CharSelect
- PaneSelect

For the above entities, if the font is not set in configuration, it
defaults to the font resolved in config.window_frame.font. This is in
order to maintain existing behavior of using the font resolved in
config.window_frame.font

* docs: documentation for added configuration options

Add documentation for below configuration options:
- command_palette_font
- char_select_font
- pane_select_font

* refactor: rename EntityFont to Entity

* docs: add example configuration in char_select_font

Apply changes mentioned in suggestion:
https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085165

* docs: add example configuration in pane_select_font

Apply changes mentioned in suggestion:
https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085165

* docs: add example configuration in command_palette_font

Apply changes mentioned in suggestion:
https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085165

* refactor: calculate make_bold in make_entity_font_impl method

* refactor: resolve font_size based on Entity

Since we can fetch font_size based on entity, we resolve it in
'make_entity_font_impl'. This removes the need to pass the pref_size
parameter

Apply changes mentioned in suggestions:
https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085350
https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085949
2025-03-09 15:34:32 -07:00
Wez Furlong cdd70030ea docs: docs and changelog for #6558 2025-03-08 17:21:09 -07:00
mgpinfandWez Furlong 46f74a5bf7 Add alphabet to launcher args (#6677)
* feat: add alphabet argument to ShowLauncherArgs

- The labels are now based on the provided argument or the default value
- The 'alphabet' string defaults to "1234567890abcdefghilmnopqrstuvwxyz"
- Optional argument 'alphabet' is added to 'ShowLauncherArgs'

* docs: update documentation for ShowLauncherArgs

* fix: push (max_label_len+3) whitespaces if always_fuzzy false in InputSelector

This is to handle the edge case in InputSelector when max_label_len is 2
and the labels shift one place to the left when entering fuzzy mode and
back one place to the right when exiting fuzzy mode.

* fix: push (max_label_len+3) whitespaces if 'FUZZY' not present

This is to handle the edge case in Launcher when max_label_len is 2
and the labels shift one place to the left when entering fuzzy mode and
back one place to the right when exiting fuzzy mode.

* feat: add configuration option for Launcher alphabet

- This is in order to be able to configure the alphabet for
  actions corresponding to KeyAssignment enums 'ShowLauncher',
  'ShowTabNavigator'
- If `launcher_alphabet` configuration option not set, the value
  defaults to '1234567890abcdefghilmnopqrstuvwxyz'

* docs: add launcher_alphabet documentation

* docs: update documentation for ShowLauncherArgs

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2025-03-08 10:22:11 -07:00
mgpinfandWez Furlong 2dda592ba6 Add Confirmation to Key assignment (#6707)
* feat: add Confirmation to KeyAssignment

This displays a confirmation menu similar to close menu.
An optional cancellation action that is triggered when the user
cancels/declines.

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2025-03-08 10:18:40 -07:00
S H 622e404be2 Update custom_block_glyphs.md
Correct link for u2500
2025-03-07 12:08:43 -08:00
Ross WilliamsandWez Furlong f8f5cc4aac Improve documentation of pane:paste vs pane:send_paste (#6730)
* Improve documentation of pane:paste vs pane:send_paste

* docs: remove ambiguity in documentation of pane:paste and
  pane:send_paste

Since 20221119-145034-49b9839f, `paste` has been an alias of
`send_paste`, but this was not documented. I went commit-reading to find
this out, so went ahead and fixed the docs to show this.

Signed-off-by: Ross Williams <ross@ross-williams.net>

* Apply suggestions from code review

---------

Signed-off-by: Ross Williams <ross@ross-williams.net>
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2025-03-06 11:28:28 -07:00
mgpinf 85409e57a3 Option to disable attributes for non matching text in quick select mode (#6683)
* feat: optionally disable non-matching text attributes in Quick Select

Add a configuration option
'disable_attributes_for_non_matching_text_in_quick_select' that disables
all attributes for non-matching text in Quick Select Mode.
The default value for
'disable_attributes_for_non_matching_text_in_quick_select' is false

This resolves the issue https://github.com/wezterm/wezterm/issues/4022

* docs: documentation for disabling attributes for non matching text in QuickSelect

Add documentation for the below configuration option:
- `disable_attributes_for_non_matching_text_in_quick_select`

* feat: display quick select label and match in bold

* refactor: fetch colors from existing reference to config

* fix: reset additional attributes for non matching text

Reset additional below mentioned attributes to default for non matching
text if the configuration option
disable-attributes-for-non-matching-text-in-quick-select-mode is true
- Italic
- Blink
- StrikeThrough
- Invisible
- Hyperlink

* fix: update attributes to reset

* feat: add reset_attributes function in termwiz cell

Add reset_attributes function in termwiz cell
Use the above function to reset cell attributes for the cell

* refactor: update method name to clear_attributes

* termwiz: update version because public method has been added

Update termwiz version because a new method 'reset_attributes' has been
added in termwiz/src/cell.rs

* fix: update get_lines method in quickselect to be same as with_lines_mut

* termwiz: simpler method name, implementation to clear cell attributes

Use simpler method name and implementation as per suggestion
https://github.com/wezterm/wezterm/pull/6683#discussion_r1966596988

* refactor: clear cell attributes for every line if flag is set

Clear attributes for every line if the configuration option
disable-attributes-for-non-matching-text-in-quick-select has been set
Partially implement changes mentioned in suggestion
https://github.com/wezterm/wezterm/pull/6683#discussion_r1966597826

* refactor: replace for loop with for_each method to iterate through cells

Partially implement changes mentioned in suggestion
https://github.com/wezterm/wezterm/pull/6683#discussion_r1966597826

* refactor: rename configuration option to quick_select_remove_styling

Rename option to remove styling in quick select from
'disable_attributes_for_non_matching_text_in_quick_select' to
'quick_select_remove_styling'
Implement changes mentioned in suggestion
https://github.com/wezterm/wezterm/pull/6683#discussion_r1966598496

* fix: remove bold attribute when displaying quick select label, match

This is in order to raise this in a separate PR

Suggestion mentioned here
https://github.com/wezterm/wezterm/pull/6683#issuecomment-2676394535

* docs: update documentation for quick_select_remove_styling

* termwiz: just bump minor part

Since the only change in termwiz is addition of a public method, it
should be forward compatible, so we can just bump the minor part

Apply changes mentioned in suggestion
https://github.com/wezterm/wezterm/pull/6683#discussion_r1966600258

* fix: clear attributes for each cell in all lines in get_lines method

Apply changes mentioned in suggestion
https://github.com/wezterm/wezterm/pull/6683#discussion_r1966848308

* fix: clear appdata for line after clearing attributes of each cell

Move call to clear appdata for line after the call to clear attributes
from each cell when configuration option 'quick_select_remove_styling'
is enabled
Apply changes mentioned in suggestion
https://github.com/wezterm/wezterm/pull/6683#discussion_r1966848015
2025-02-23 15:37:09 -07:00
Ryan Zimmermanandvolskaya c6b67877b6 Add option to extend the osx non-native fullscreen behind the notch to the top of the screen (#5759)
* Adding an option (disabled by default) to disable the notch avoidance so you can use the full screen if your terminal config already handles the notch.

Co-authored-by: volskaya <38878482+volskaya@users.noreply.github.com>
2025-02-22 08:17:33 -07:00
Wez Furlong ee0c04e735 docs: add missing version info for window_content_alignment 2025-02-13 13:33:49 -07:00
Wez Furlong 488dd37239 docs: cooler looking example for progress state 2025-02-09 21:21:44 -07:00
Wez Furlong 874750e34c update nerdfonts to 3.3.0 2025-02-09 20:36:44 -07:00
Wez Furlong 0c7a8fc816 docs: fix build 2025-02-09 18:43:42 -07:00
Wez Furlong fa63a66b66 docs: fix formatting 2025-02-09 18:43:24 -07:00
Wez Furlong 44866cc137 new: ConEmu progress reporting OSC sequence
This commit parses and captures the progress state as set by
ConEmu style progress reporting escape sequences.

Changes to the state will propagage through the mux via the
existing MuxNotification Alert system, and should also transit
across multiplexer connections.  However, there is no separate
multiplexer state transfer for the progress state, so reconnecting
to a mux in the middle of a progress sequence will show as None
for the progress state, until the next update occurs.

Aside from propgating and exposing the state to lua via PaneInformation
and a Pane::get_progress method, wezterm doesn't do anything with
the progress information at this time.

This commit includes an example of how you might customize your
tab title to reflect the progress in the active pane.

refs: https://github.com/wezterm/wezterm/issues/6581
2025-02-09 18:26:23 -07:00
Alec Clews 2bf84fb100 Fix typo 2025-02-09 13:15:13 -07:00
Alec Clews f541b0fe9c Changes after code review -- improve links and tips 2025-02-09 13:15:13 -07:00
Alec Clews 20a44962d6 Add reference material for plugin module
Addresses https://github.com/wez/wezterm/issues/6177
2025-02-09 13:15:13 -07:00
Wez Furlong 0eed1166a3 docs: changelog for #6606 2025-02-09 13:08:35 -07:00
mgpinf 4c32d6fd50 Add help_text and fuzzy_help_text arguments to ShowLauncherArgs (#6606)
* feat: add help_text, fuzzy_help_text arguments in ShowLauncherArgs

Add help_text, fuzzy_help_text optional arguments in ShowLauncherArgs.
Similar to description, fuzzy_description arguments present in
InputSelector.
If help_text argument is not provided, default value of `"Select an item
and press Enter=launch Esc=cancel  /=filter"` is displayed
If fuzzy_help_text argument is not provided, default value of `"Fuzzy
matching: "` is displayed

* docs: update documentation for ShowLauncherArgs

* perf: pass LauncherActionArgs struct rather than reference

Since fields are being cloned in the callee function, pass the struct
rather than reference to it.
2025-02-09 13:05:54 -07:00
nhurlockandWez Furlong b374d383ce QuickSelectArgs: optionally bypass custom action on paste (#6405)
* QuickSelectArgs: optionally bypass performing action on paste

---------

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2025-02-08 19:38:40 -07:00
Wez Furlong 0736e4f9d1 docs for #6587 2025-02-08 19:26:49 -07:00
Shiphan 94a4252f28 Add config option to adjust window alignment 2025-02-08 15:34:15 -07:00
mgpinf f55293262e Select active tab choice as initial choice in ShowTabNavigator (#6320)
* Select current tab option as initial choice in ShowTabNavigator

This introduces the following changes
- Select the choice corresponding to the active tab as the initial choice

* docs: Add current tab choice documentation in ShowTabNavigator

This changes the following
- Update ShowTabNavigator.md with current tab choice documentation

* refactor: remove redundant local variable
2025-02-08 14:43:34 -07:00
Ha Pham 656e62541f Update log_(error|info|warn).md to include using ShowDebugOverlay to view logs (#6316)
* Update log_error.md to include using ShowDebugOverlay to view logs

* Update log_info.md to include using ShowDebugOverlay to view logs

* Update log_warn.md to include using ShowDebugOverlay to view logs
2025-02-08 14:42:04 -07:00
Ha Pham 47df25dc7e Update leader_is_active.md
I think it should be `window:leader_is_active()` instead of `wezterm.leader_is_active()`
2025-02-08 14:40:45 -07:00
Erik Schnetter 94610314e8 Support Unicode 16 octant characters (#6502)
* Support Unicode 16 octant characters

* Add missing Unicode 16 block characters

* Simplify sextant/octant implementation

* Add missing octant, correct indexing error

* Correct sextant/octant lookups
2025-02-08 13:43:33 -07:00
Max von Webel cdfa86aebd Update user-var-changed.md (#6368)
* Update user-var-changed.md

By default base64 inserts a line break at some column which will truncate the user var. `-w 0` disables line wrapping

* added a note instead of changing the base64 command
2025-02-08 07:20:00 -07:00
Benoit de Chezelles cb593f6af5 docs: Try fix mkdocs rendering of lists 2025-02-07 18:43:44 -07:00