I'm not sure if applications are supposed to use "Smulx" and "Setulc" or
"Su". Among the terminals that implement XTGETTCAP, contour, foot, ghostty
and kitty advertize both (and XTerm neither).
"Su" is the one mentioned in the original documentation
https://sw.kovidgoyal.net/kitty/underlines/
It's a boolean capability but I'd argue that's even better since I don't
think the flexibility of string capabilities is needed. (Personally, all
I want to use it for is to answer "will this terminal break if I emit the
hardcoded \e[4:3m and \e[58:2::1:2:3m".
Include "Su" in wezterm's terminfo, for the benefit of XTGETTCAP users..
Updated the compiled database with
tic -x termwiz/data/wezterm.terminfo -o termwiz/data
Alternatively we could change the kitty documentation.
Now that WezTerm uses UNUserNotificationCenter, it needs to have
a proper app bundle. Rather than symlinking from `WezTerm.app/`
to `bin/`, do it the other way around.
Alternatives to symbolic links such as copies, hard links, or clones
also will not work when WezTerm is invoked from the command line
(i.e. as `.../bin/wezterm`).
The tmux control code support depends on `pest`, which might be a
dependency that some projects won't need. This change makes it
optional with a Cargo feature. It's default on to maintain compatibility.
This is the same version that is captured in the lock file,
but that lock file doesn't get propagated through to eg: termwiz
when published on crates.io.
Let's be explicit that we need this version because 2.1 doesn't
compile the `continue` token in our pest file:
https://github.com/wezterm/wezterm/pull/6810#issuecomment-2739610838
We don't need to check if the alphabet includes 'j', 'k' because if a
character is included in the alphabet, the code corresponding to the
first arm is executed
* feat: option to configure font for ActivateCommandPalette, CharSelect, PaneSelect
Add configuration option for font for the below entities:
- ActivateCommandPalette
- CharSelect
- PaneSelect
For the above entities, if the font is not set in configuration, it
defaults to the font resolved in config.window_frame.font. This is in
order to maintain existing behavior of using the font resolved in
config.window_frame.font
* docs: documentation for added configuration options
Add documentation for below configuration options:
- command_palette_font
- char_select_font
- pane_select_font
* refactor: rename EntityFont to Entity
* docs: add example configuration in char_select_font
Apply changes mentioned in suggestion:
https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085165
* docs: add example configuration in pane_select_font
Apply changes mentioned in suggestion:
https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085165
* docs: add example configuration in command_palette_font
Apply changes mentioned in suggestion:
https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085165
* refactor: calculate make_bold in make_entity_font_impl method
* refactor: resolve font_size based on Entity
Since we can fetch font_size based on entity, we resolve it in
'make_entity_font_impl'. This removes the need to pass the pref_size
parameter
Apply changes mentioned in suggestions:
https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085350https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085949