* 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>
* 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
* 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>
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
* 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.
* 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
* 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
* 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
* option to configure PromptInputLine prompt
- Introduces an option to set custom prompt text
- If 'prompt' not passed in parameters, default value of "> " used
* commit: update documentation for PromptInputLine
* Update docs/config/lua/keyassignment/PromptInputLine.md
---------
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
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.
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
* 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
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