Commit Graph
8297 Commits
Author SHA1 Message Date
Guarabot 81edde286a Add CI for Fedora Linux 41 (#6156) 2025-02-10 09:14:24 -07:00
Wez Furlong 958804c8ac termwiz: update dynamic dep for publish 2025-02-10 08:47:22 -07:00
Wez Furlong 4506a7648e dynamic: bump version for publish 2025-02-10 08:46:14 -07:00
Wez Furlong 4d3911b5e2 termwiz: prep for making a new release 2025-02-10 08:45:17 -07:00
Wez Furlong 034e217966 rustfmt 2025-02-10 07:57:05 -07:00
Wez Furlong ee4f6b0d27 blob-leases: update deps
refs: https://github.com/wezterm/wezterm/issues/6649
2025-02-10 07:55:10 -07:00
mgpinf 3bc67e4467 fix: reset attributes to default before emitting CRLF in Launcher Menu
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'
2025-02-10 07:08:46 -07:00
mgpinf dd0198df67 fix: emit CRLF after attributes have reversed
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
2025-02-10 07:08:46 -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
Wez Furlong fb023956cf termwiz: parse ConEmu progress OSC sequence
refs: https://github.com/wezterm/wezterm/issues/6581
2025-02-09 17:19:50 -07:00
dani162 23d643bab4 use surface height/width for client side decoration frame resizes 2025-02-09 15:58:48 -07:00
Wez Furlong a95a584344 bump libssh-rs again 2025-02-09 13:49:11 -07:00
Koichi Murase dbabb97581 fix: skip FreshLine by semantic integration in ble.sh
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.
2025-02-09 13:38:26 -07:00
Wez Furlong 10a145773f docs: changelog for #6029 2025-02-09 13:32:55 -07:00
Wez Furlong 300ebd1875 docs: mention plugin docs in the changelog
refs: #6188
2025-02-09 13:32:02 -07:00
Sunjay Cauligi 78195866fc keep pane index calculation immutable 2025-02-09 13:31:52 -07:00
Sunjay Cauligi 1d72e79e6a fix: update pane index when moving panes in same tab 2025-02-09 13:31:52 -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
Alec Clews 5f0614f148 Refinie content
1. Remove references to my specific example repo
2. Improve Lua code
2025-02-09 13:15:13 -07:00
Alec Clews 05b510890c Added new page to describe Plugins.
WIP for review

TODO:

1. Add a section to the reference for `wezterm.plugins`
2. Create a plugin starter project

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
Wez Furlong a441669a36 docs: missing entry for updated freetype 2025-02-09 13:01:22 -07:00
Wez Furlong 10a5a4c232 deps: update harfbuzz to 10.2.0 2025-02-09 12:59:51 -07:00
Wez Furlong 9270da12c5 update libssh to 0.11.1
refs: https://github.com/wezterm/wezterm/pull/6156
2025-02-09 12:53:31 -07:00
Wez Furlong 6fe9d01e65 ci: remove fedora 38
It's EOL

refs: https://github.com/wezterm/wezterm/pull/6156
2025-02-09 12:24:08 -07:00
Wez Furlong 836a0855fd ci: bump sccache action
closes: https://github.com/wezterm/wezterm/pull/6212
2025-02-09 12:19:19 -07:00
Wez Furlong 1bd7e9ec39 ci: maybe fixup pushing to the nightly release 2025-02-09 10:27:36 -07:00
mgpinf ef689c5eee fix: display whitespace before reset of attributes in InputSelector (#6609)
* 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
2025-02-09 09:54:21 -07:00
Wez Furlong c79f8d59c4 macos: MACOSX_DEPLOYMENT_TARGET 10.9 -> 10.12
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
2025-02-09 09:51:38 -07:00
Wez Furlong 9abf85cabf macOS: switch to UNUserNotificationCenter for toast notifs
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.
2025-02-09 09:50:12 -07:00
Wez Furlong a3b4d5e85a docs: changelog for #6405 2025-02-08 19:40:37 -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
Wez Furlong 011ea313b6 rustfmt
refs: https://github.com/wezterm/wezterm/pull/6587
2025-02-08 19:22:10 -07:00
amadeusandWez Furlong fcae187b29 feat(macOS): add support to disable rounded corners on macOS (#6587)
* feat(macOS): add support to disable rounded corners on macOS

* Update wezterm-input-types/src/lib.rs

---------

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2025-02-08 19:21:44 -07:00
Wez Furlong 4accc376f3 update bundled conpty build
These are the win10 x64 bits taken from
https://dev.azure.com/shine-oss/terminal/_artifacts/feed/TerminalDependencies/NuGet/Microsoft.Windows.Console.ConPTY/overview/1.22.250204002

thread: https://mas.to/@DHowett/113969428709942718
2025-02-08 16:01:06 -07:00
Brian Di Palma 7b127d6d2e Update troubleshooting.md
Flatpak debugging instructions.
2025-02-08 15:46:46 -07:00
Wez Furlong f442417fce docs: changelog for #6629
closes: #1124
2025-02-08 15:37:19 -07:00
Shiphan 94a4252f28 Add config option to adjust window alignment 2025-02-08 15:34:15 -07:00
Wez Furlong b535b14e91 termwiz: fixup regex range
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
2025-02-08 14:48:50 -07:00
Wez Furlong 6ad113d04e docs: changelog for #6320 2025-02-08 14:45:32 -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