Commit Graph
266 Commits
Author SHA1 Message Date
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 fa63a66b66 docs: fix formatting 2025-02-09 18:43:24 -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
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
Wez Furlong 11c4b11669 s,wez/wezterm,wezterm/wezterm,
I moved the repo to an org of its own. Update various things
to reference the new location.
2025-02-07 13:08:01 -07:00
xixishidibei 832c533c5f chore: remove redundant words in comment
Signed-off-by: xixishidibei <xixishidibei@outlook.com>
2024-09-18 06:49:17 -07:00
mozumasu 3fc45caf1f fix: Correctly rearrange lines in the modified diffs 2024-09-14 07:39:33 -07:00
mozumasu f1f87df044 fix: docs typos 2024-09-14 07:39:33 -07:00
Silas Bue Handgaard b9c34ce7c7 fix: link to launcher menu
The link was pointing to the top of the page instead of the correct section.
2024-09-14 07:38:03 -07:00
Wez Furlong fe17be2973 docs: fix some anchors 2024-07-15 07:00:13 -07:00
Przemek Pawlas 749ddc9ffe Update quick_select_patterns.md to include info about capturing groups
closes: https://github.com/wez/wezterm/pull/5082
2024-07-13 12:00:26 -07:00
Aleksey Kuznetsov a46bad17d2 config: show/hide close-tab button 2024-07-13 11:32:54 -07:00
Wez Furlong 0711455135 add default_ssh_auth_sock option
This is useful (essential!) for fixing up the default auth sock
under gnome, as we do not have a way to do that via whatever
logic may be present in the shell startup files.
2024-05-09 14:27:03 -07:00
Wez Furlong 4af418fddd mux: enable ssh agent forwarding
This is done with a wezterm twist: not only is the auth sock forwarded,
but the mux on the remote end will automatically maintain a symlink to
point to the auth sock of the most recently active mux client, and set
SSH_AUTH_SOCK to that symlink so that your remote panes should always be
referencing something sane.

refs: https://github.com/wez/wezterm/issues/1647
refs: https://github.com/wez/wezterm/discussions/988
2024-05-09 12:52:29 -07:00
Glenn Waters 888366a15d Add missing docs, fix typo, bring to attention error. (#5150)
* Update swallow_mouse_click_on_window_focus.md

Fix typo.

* Update appearance.md

URL in docs is no longer value. As a placeholder I put in the file where color_schemes can be found. I'm thinking that's not the right fix, but there is now awareness of the broken URL.

* Update window_frame.md

Add font and font_size description for window_frame.

* Update window_frame.md

Fix typo
2024-05-05 13:47:14 -07:00
Wez Furlong 65a84ddd60 docs: update for x11 dnd
closes: https://github.com/wez/wezterm/pull/5316
closes: https://github.com/wez/wezterm/issues/640
2024-05-05 13:05:53 -07:00
cultab 6dff0fbe2c docs(front_end): default value of OpenGL
Reflects changes made as of `20240128-202157-1e552d76`.
2024-02-18 07:34:42 -07:00
Wez Furlong 39d2b6ca85 remove show_update_window functionality
dependabot is trying to update pulldown-cmark, but it won't
work because the API has changed.

The update window is not enabled by default and I don't think
anyone uses it anyway, so let's just remove it and have less
code to compile and maintain.

closes: https://github.com/wez/wezterm/pull/4964
2024-02-05 07:04:37 -07:00
Wez Furlong 281a0ce4da docs: add forgotten appearance option for command palette
closes: https://github.com/wez/wezterm/issues/3335
2024-02-03 19:18:07 -07:00
Wez Furlong 3129e20fd4 docs: update for release 2024-02-03 11:43:04 -07:00
Wez Furlong 99c17b166f add wezterm start --new-tab and wezterm connect --new-tab
refs: https://github.com/wez/wezterm/discussions/4854
refs: https://github.com/wez/wezterm/discussions/4946
2024-02-03 07:51:06 -07:00
Wez Furlong 6e85ba49fd docs: update freetype_load_flags 2024-01-31 08:00:18 -07:00
Wez Furlong 0621c1f19c docs: update for latest release 2024-01-29 09:27:03 -07:00
Wez Furlong 616b218e32 freetype_load_flags now defaults to NO_HINTING 2024-01-28 20:21:57 -07:00
Wez Furlong c85fa0b73b docs: update for latest release 2024-01-27 12:50:49 -07:00
Wez Furlong ad762e5aa2 docs for https://github.com/wez/wezterm/pull/4824 2024-01-24 22:07:14 -07:00
Wez Furlong 73c8bbb8e0 docs: changelog and update for #4426 2024-01-23 06:30:32 -07:00
Wez Furlong e5274decb0 docs: fix list indenting for the background config
mkdocs is much more strict about the indentation level than mdbook
2024-01-03 08:14:03 -07:00
Andrew StoneandWez Furlong 28ac1c845b Adds config option for command palette rows (#4595)
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2023-12-01 07:56:41 -07:00
Adam Simpkins 7b4d165c84 docs: fix minor variable name mismatch in the docs 2023-11-20 16:15:51 -07:00
Benjamin Habié bc99181fa2 docs: Fix typo 2023-10-29 18:41:47 -07:00
Wez Furlong 845fa5d4ae add notification_handling option to control suppression
refs: https://github.com/wez/wezterm/issues/3727
2023-09-28 18:05:18 -07:00
Wez Furlong 3e2b96755c docs: clarify font_size
closes: #4303
2023-09-20 11:27:49 -07:00
Robson Roberto Souza Peixoto 547825072c doc: add missing config variable on tab_bar_style documentation 2023-08-25 05:25:27 -07:00
UserIsntAvailable fd9afa18c6 add awesome to default tiling_desktop_environments. 2023-08-19 16:31:09 -07:00
xqrdot 419210bc14 corrected front_end.md 2023-08-02 07:15:27 -07:00
Wez Furlong 5d1136d29b Revert "front_end defaults to OpenGL again"
This reverts commit f4abf8fde7 so that
webgpu is the default again in nightly builds
2023-07-12 07:47:12 -07:00
Wez Furlong 35df521f76 docs: update for release 2023-07-12 07:46:13 -07:00
Wez Furlong f4abf8fde7 front_end defaults to OpenGL again
Feels safest to do this until we can make a smoother fallback
experience for webgpu.

I will revert this after tagging the release so that nightly
runs webgpu by default.
2023-07-12 07:26:01 -07:00
Wez Furlong c7ff432581 mux server: register additional domains
Relocate the helper function to mux-server-impl and have both the GUI
and the mux server call it at the appropriate times.

Introduce default_mux_server_domain which is used instead of
default_domain in the mux server.  This is to avoid recursive
cycles when starting up the mux; we don't want the default
domain to be a unix client that connects to our selves because
we'll try to connect to ourselves, then in act of handling that
spawn in the default domain and try to connect to ourselves and
repeat.

refs: https://github.com/wez/wezterm/issues/3907
2023-07-11 09:34:34 -07:00
Wez Furlong b9c23d19a1 new exit_behavior_messaging option
Controls the message that is shown when holding a pane open
after a process has completed.

refs: #3423
2023-07-10 17:14:48 -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 6bcb8eed56 add i3 to default tiling_desktop_environments 2023-05-17 06:34:45 -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