* 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_r1986085350 https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085949
612 B
612 B
tags
| tags | |||
|---|---|---|---|
|
char_select_font
{{since('nightly')}}
Configures the font to use for character selection. The char_select_font
setting can specify a set of fallbacks and other options, and is described
in more detail in the Fonts section.
If not specified, the font is same as the font in window_frame.font
You will typically use wezterm.font or wezterm.font_with_fallback to specify the font.
To specify char_select_font:
config.char_select_font = wezterm.font 'Roboto'