@@ -269,8 +269,6 @@ local horiz_align = {
269269---
270270--- @field width ? " Cover" | " Contain" | number | string
271271
272- --- @alias AllFontAttributes Fonts | FontAttributes | FontFamilyAttributes
273-
274272--- @enum (key ) FontRules.Blink
275273local blink = {
276274 None = 1 ,
@@ -280,7 +278,7 @@ local blink = {
280278
281279--- @class FontRules
282280--- @field blink ? FontRules.Blink
283- --- @field font ? AllFontAttributes
281+ --- @field font ? TextStyle
284282--- @field intensity ? FormatItemAttribute.Intensity
285283--- @field invisible ? boolean
286284--- @field italic ? boolean
@@ -613,7 +611,7 @@ local exit_behavior_messaging = {
613611--- - [`wezterm.font_with_fallback()`](lua://Wezterm.font_with_fallback)
614612--- - [`wezterm.font()`](lua://Wezterm.font)
615613---
616- --- @field char_select_font ? Fonts | FontFamilyAttributes
614+ --- @field char_select_font ? TextStyle
617615--- Specifies the size of the font used with [`CharSelect`](https://wezterm.org/config/lua/keyassignment/CharSelect.html).
618616---
619617--- @field char_select_font_size ? number
@@ -713,7 +711,7 @@ local exit_behavior_messaging = {
713711--- - [`wezterm.font()`](lua://Wezterm.font)
714712--- - [`wezterm.font_with_fallback()`](lua://Wezterm.font_with_fallback)
715713---
716- --- @field command_palette_font ? AllFontAttributes
714+ --- @field command_palette_font ? TextStyle
717715--- Specifies the size of the font used with `ActivateCommandPalette`.
718716---
719717--- See:
@@ -1108,7 +1106,7 @@ local exit_behavior_messaging = {
11081106--- - [`wezterm.font()`](lua://Wezterm.font)
11091107--- - [`wezterm.font_with_fallback()`](lua://Wezterm.font_with_fallback)
11101108---
1111- --- @field font ? AllFontAttributes
1109+ --- @field font ? TextStyle
11121110--- @field font_colr_rasterizer ? FontRasterizer
11131111--- By default, wezterm will use an appropriate system-specific method
11141112--- for locating the fonts that you specify using the options below.
@@ -1818,7 +1816,7 @@ local exit_behavior_messaging = {
18181816--- config.pane_select_font = wezterm.font 'Roboto'
18191817--- ```
18201818---
1821- --- @field pane_select_font ? AllFontAttributes
1819+ --- @field pane_select_font ? TextStyle
18221820--- @field pane_select_font_size ? number
18231821--- If non-zero, specifies the period (in seconds) at which various statistics are logged.
18241822---
0 commit comments