For most cases we don't require this, but since launch_menu items are
configurable and it contains a list of SpawnCommand objects, and
SpawnCommand has a an optional field to show in the launcher called
'label', this change handles cases where user passes a value formatted
using wezterm.format against 'label'
Moving to the next line before the attributes are reversed might lead to
some wonky behavior in some edge cases. So to be on the safe side, emit
CRLF after attributes have been reversed
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
ble.sh keeps track of the cursor position in the terminal
display---including the horizontal position relative to the bottom of
the terminal---based on the terminal control sequences that it sends.
However, with WezTerm's shell integration, WezTerm inserts the newline
(FreshLine) in PROMPT_COMMAND, which breaks the cursor position
tracking of ble.sh. The needed cursor position adjustment at the end
of the command execution is already performed by ble.sh, so WezTerm
does not need to adjust it. In this patch, we skip the request for
FreshLine.
* 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.
* fix: display whitespace before reset of attributes in InputSelector
Display white space before reset of background and setting attributes to
default in InputSelector. This is in order for whitespace after the
option to be highlighted in the same background color as the currently
selected option.
The above mentioned points are currently reflected in ShowLauncherArgs
but not in InputSelector.
* fix: emit CRLF after attributes have changed
Moving to the next line before the others are applied might lead to some
wonky behavior in some edge cases. So to be on the safe side, emit CRLF
after attributes have changed
rustc emits:
```
warning: deployment target in MACOSX_DEPLOYMENT_TARGET was set to 10.9, but the minimum supported by `rustc` is 10.12
```
and so we follow that min requirement
I want to move all the objc stuff over to the objc2 crate.
The older notification center is deprecated and doesn't
have any bindings that are supported by the objc2 crate.
This is mostly straightforward, except I lost hours running
down the delegate was being dropped. Best guess is that
there's some autorelease pool magic that I don't understand;
I tried stashing the object into a global but that still didn't
keep it retained.
In the end, the simplest solution is to take it out of its
Retained wrapper and just leak it; it doesn't hold any
meaningful amount of data anyway, but it is vital to keep
it alive for the notification center callbacks to trigger.
Note that UNUserNotificationCenter requires that the application be
code-signed in order to function. I don't like this, but that's the way
that apple want it: sponsors are supporting the cost of my apple
developer account to enable this.
Avoids a panic on startup:
```
thread 'main' panicked at config/src/config.rs:1671:86:
called `Result::unwrap()` on an `Err` value: Error(Regex(CompileError(InnerError(Syntax(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regex parse error:
^(?:\s|$|[^_-/a-zA-Z0-9])
^^^
```
refs: #6391
* 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