* 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