|
10 | 10 | ---|"Center" |
11 | 11 | ---|"Right" |
12 | 12 |
|
13 | | ----@alias VerticalAlign |
14 | | ----|"Top" |
15 | | ----|"Center" |
16 | | ----|"Bottom" |
17 | | - |
18 | 13 | ---@class ContentAlignment |
19 | 14 | ---@field horizontal HorizontalAlign |
20 | | ----@field vertical VerticalAlign |
| 15 | +---@field vertical "Top"|"Center"|"Bottom" |
21 | 16 |
|
22 | 17 | ---@alias DroppedFileQuoting |
23 | 18 | ---|"None" |
|
26 | 21 | ---|"Windows" |
27 | 22 | ---|"WindowsAlwaysQuoted" |
28 | 23 |
|
29 | | ----@alias ImePreeditRendering |
30 | | ----|"Builtin" |
31 | | ----|"System" |
32 | | - |
33 | 24 | ---@alias DefaultCursorStyle |
34 | 25 | ---|"SteadyBlock" |
35 | 26 | ---|"BlinkingBlock" |
|
56 | 47 | ---@field top? integer|string |
57 | 48 | ---@field bottom? integer|string |
58 | 49 |
|
59 | | ----@alias WindowCloseConfirmation |
60 | | ----|"AlwaysPrompt" |
61 | | ----|"NeverPrompt" |
62 | | - |
63 | 50 | ---@class DaemonOptions |
64 | 51 | ---@field stdout? string |
65 | 52 | ---@field stderr? string |
|
72 | 59 | ---@field fade_out_function? EasingFunction |
73 | 60 | ---@field target? "BackgroundColor"|"CursorColor" |
74 | 61 |
|
75 | | ----@class BackgroundLayer.Source1 |
76 | | ----@field File string |
77 | | ----@field speed? number |
78 | | - |
79 | | ----@class BackgroundLayer.Source2 |
80 | | ----@field Gradient Gradient |
81 | | ----@field Color string |
82 | | - |
83 | 62 | ---@alias BackgroundLayerRepeat |
84 | 63 | ---|"Repeat" |
85 | 64 | ---|"Mirror" |
|
103 | 82 | ---@class BackgroundLayer |
104 | 83 | ---Defines the source of the layer texture data. |
105 | 84 | --- |
106 | | ----@field source? BackgroundLayer.Source1|BackgroundLayer.Source2 |
| 85 | +---@field source? { File: string, speed: number? }|{ Gradient: Gradient, Color: string } |
107 | 86 | ---Controls whether the layer is fixed to the viewport or moves as it scrolls: |
108 | 87 | --- |
109 | 88 | --- - `"Fixed"`: (default) to not move as the window scrolls |
|
172 | 151 | ---A _hue, saturation, brightness_ transformation that can be used to adjust |
173 | 152 | ---those attributes of the layer. |
174 | 153 | --- |
175 | | ----See `foreground_text_hsb` for more information about this kind of transform. |
| 154 | +---See `config.foreground_text_hsb` for more information about this kind of transform. |
176 | 155 | --- |
177 | 156 | ---@field hsb? HsbTransform |
178 | 157 | ---Controls the height of the image. The following values are accepted: |
|
201 | 180 | ---|"CarriageReturn" |
202 | 181 | ---|"CarriageReturnAndLineFeed" |
203 | 182 |
|
204 | | ----@alias KeyMapPreference |
205 | | ----|"Mapped" |
206 | | ----|"Physical" |
207 | | - |
208 | 183 | ---@alias UIKeyCapRendering |
209 | 184 | ---|"UnixLong" `Super`, `Meta`, `Ctrl`, `Shift` |
210 | 185 | ---|"Emacs" `Super`, `M`, `C`, `S` |
|
271 | 246 | ---Subsequent layers are composited over the top of preceding layers. |
272 | 247 | --- |
273 | 248 | ---@field background? BackgroundLayer[] |
274 | | ----@field bold_brightens_ansi_colors? BoldBrightening |
| 249 | +---@field bold_brightens_ansi_colors? "No"|"BrightAndBold"|"BrightOnly" |
275 | 250 | ---If an application has enabled mouse reporting mode, mouse events are sent directly |
276 | 251 | ---to the application, and do not get routed through the mouse assignment logic. |
277 | 252 | --- |
|
566 | 541 | ---@field disable_default_key_bindings? boolean |
567 | 542 | ---@field disable_default_mouse_bindings? boolean |
568 | 543 | ---@field disable_default_quick_select_patterns? boolean |
569 | | ----@field display_pixel_geometry? DisplayPixelGeometry |
| 544 | +---@field display_pixel_geometry? "RGB"|"BGR" |
570 | 545 | ---Override the detected DPI (dots per inch) for the display. |
571 | 546 | --- |
572 | 547 | ---This can be useful if the detected DPI is inaccurate and the text |
573 | 548 | ---appears either blurry or too small |
574 | 549 | ---(particularly if you are using a 4K display on X11 or Wayland). |
575 | 550 | --- |
576 | 551 | ---The default value is system specific: |
577 | | --- |
| 552 | +--- |
578 | 553 | -- | OS | Standard Density | High Density | |
579 | 554 | -- |---------|-------------------------|-------------------------| |
580 | 555 | -- | macOS | `72.0` | `144.0` | |
581 | 556 | -- | Windows | Probed from the display | Probed from the display | |
582 | 557 | -- | X11 | `96.0` | `96.0` | |
583 | 558 | -- | Wayland | `96.0` | `192.0` | |
584 | | --- |
| 559 | +--- |
585 | 560 | ---In macOS and Wayland environments there isn't strictly a system DPI value that can be queried; |
586 | 561 | ---instead standard density has a fixed value and the system will inform WezTerm |
587 | 562 | ---when the display is high density by communicating a scaling factor for the display. |
|
650 | 625 | --- |
651 | 626 | ---@field enable_wayland? boolean |
652 | 627 | ---@field exec_domains? ExecDomain[] |
653 | | ----@field exit_behavior? ExitBehavior |
654 | | ----@field exit_behavior_messaging? ExitBehaviorMessaging |
| 628 | +---@field exit_behavior? "Close"|"CloseOnCleanExit"|"Hold" |
| 629 | +---@field exit_behavior_messaging? "Verbose"|"Brief"|"Terse"|"None" |
655 | 630 | ---Configures the font to use by default. |
656 | 631 | --- |
657 | 632 | ---The font setting can specify a set of fallbacks and other options, |
|
665 | 640 | ---@field font_dirs? string[] |
666 | 641 | ---DEPRECATED |
667 | 642 | ---@field font_hinting? Deprecated |
668 | | ----@field font_locator? FontLocatorSelection |
| 643 | +---@field font_locator? "FontConfig"|"Gdi"|"CoreText"|"ConfigDirsOnly" |
669 | 644 | ---@field font_rasterizer? "FreeType" |
670 | 645 | ---When textual output in the terminal is styled with `bold`, `italic` |
671 | 646 | ---or other attributes, wezterm uses `config.font_rules` |
|
699 | 674 | --- |
700 | 675 | ---The shaper is responsible for handling kerning, ligatures and emoji composition. |
701 | 676 | --- |
| 677 | +---The only option is `"Harfbuzz"`. |
702 | 678 | ---The incomplete `"Allsorts"` shaper was removed. |
703 | 679 | --- |
704 | | ----The default is `"Harfbuzz"`. |
705 | | ---- |
706 | 680 | ---@field font_shaper? "Harfbuzz" |
707 | 681 | ---@field font_size? number |
708 | 682 | ---When `config.force_reverse_video_cursor = true`, override the |
|
724 | 698 | ---that is applied to monochrome glyphs. |
725 | 699 | --- |
726 | 700 | ---The transform works by converting the `RGB` colors to `HSV` values |
727 | | ----and then multiplying the HSV by the numbers specified in `foreground_text_hsb`. |
| 701 | +---and then multiplying the HSV by the numbers specified in `config.foreground_text_hsb`. |
728 | 702 | --- |
729 | 703 | ---Modifying the hue changes the hue of the color by rotating it through the color wheel. |
730 | 704 | ---It is not as useful as the other components, but is available "for free" |
|
748 | 722 | ---} |
749 | 723 | ---``` |
750 | 724 | --- |
| 725 | +---See [`HsbTransform`](lua://HsbTransform) for more details. |
| 726 | +--- |
751 | 727 | ---@field foreground_text_hsb? HsbTransform |
752 | 728 | ---Selects the freetype interpret version to use. |
753 | 729 | --- |
|
791 | 767 | --- - Vulkan |
792 | 768 | --- - DirectX 12 (on Windows) |
793 | 769 | --- |
794 | | ----@field front_end? FrontEndSelection |
| 770 | +---@field front_end? "OpenGL"|"WebGpu"|"Software" |
795 | 771 | ---@field glyph_cache_image_cache_size? number |
796 | 772 | ---When `config.font_shaper = "Harfbuzz"`, this setting affects how font shaping takes place. |
797 | 773 | --- |
|
817 | 793 | ---Defines rules to match text from the terminal output and generate clickable links. |
818 | 794 | --- |
819 | 795 | ---@field hyperlink_rules? HyperlinkRule[] |
820 | | ----@field ime_preedit_rendering? ImePreeditRendering |
| 796 | +---@field ime_preedit_rendering? "Builtin"|"System" |
821 | 797 | ---Specifies the width of a new window, expressed in character cells. |
822 | 798 | --- |
823 | 799 | ---@field initial_cols? integer |
|
843 | 819 | --- |
844 | 820 | ---Default key assignments also respect `config.key_map_preference`. |
845 | 821 | --- |
846 | | ----@field key_map_preference? KeyMapPreference |
| 822 | +---@field key_map_preference? "Mapped"|"Physical" |
847 | 823 | ---See the main [Key Tables docs](https://wezterm.org/config/key-tables.html). |
848 | 824 | --- |
849 | 825 | ---@field key_tables? table<string, Key[]> |
|
1140 | 1116 | ---@field show_update_window? boolean |
1141 | 1117 | ---@field skip_close_confirmation_for_processes_named? string[] |
1142 | 1118 | ---@field sort_fallback_fonts_by_coverage? boolean |
1143 | | ----@field ssh_backend? SshBackend |
| 1119 | +---@field ssh_backend? "Ssh2"|"LibSsh" |
1144 | 1120 | ---@field ssh_domains? SshDomain[] |
1145 | 1121 | ---@field status_update_interval? integer |
1146 | 1122 | ---@field strikethrough_position? string|number |
|
1276 | 1252 | --- |
1277 | 1253 | ---Defaults to `"LowPower"`. |
1278 | 1254 | --- |
1279 | | ----@field webgpu_power_preference? WebGpuPowerPreference |
| 1255 | +---@field webgpu_power_preference? "LowPower"|"HighPerformance" |
1280 | 1256 | ---Specifies which WebGpu adapter should be used. |
1281 | 1257 | --- |
1282 | 1258 | ---This option is only applicable when you have configured `config.front_end = "WebGpu"`. |
|
1333 | 1309 | ---performance. |
1334 | 1310 | --- |
1335 | 1311 | ---@field window_background_opacity? number |
1336 | | ----@field window_close_confirmation? WindowCloseConfirmation |
| 1312 | +---@field window_close_confirmation? "AlwaysPrompt"|"NeverPrompt" |
1337 | 1313 | ---Controls the alignment of the terminal cells inside the window. |
1338 | 1314 | --- |
1339 | 1315 | ---When window size is not a multiple of terminal cell size, |
|
0 commit comments