There have been a couple of attempts at this in the past, which
had some usability warts in what I recall as an earlier, less
useful set of features overall.
Whether that was collective misunderstanding at the time, or things
have gotten better since then, now is a good time to adopt the workspace
dep syntax, because wezterm has many crates to keep on top of, and
automation like dependabot can't see a lot of them.
This will help to manage the versions of deps in wezterm centrally.
Let's try this out in CI: the Cargo.lock changes here are minimal
(eliminated a second version of base64 from one crate, terminal_size
from another, and removed an explicit dep on serde_derive) so
hopefully this sails through on !linux.
closes: https://github.com/wezterm/wezterm/pull/6668
When someone forks wezterm and submits a PR based off their main
branch, it is desirable to avoid trying to push releases or PRs
to other projects when wezterm maintainers amend the PR during
code review.
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.