1
1
mirror of https://github.com/wez/wezterm.git synced 2024-08-17 02:00:25 +03:00

Add missing docs, fix typo, bring to attention error. (#5150)

* Update swallow_mouse_click_on_window_focus.md

Fix typo.

* Update appearance.md

URL in docs is no longer value. As a placeholder I put in the file where color_schemes can be found. I'm thinking that's not the right fix, but there is now awareness of the broken URL.

* Update window_frame.md

Add font and font_size description for window_frame.

* Update window_frame.md

Fix typo
This commit is contained in:
Glenn Waters 2024-05-05 16:47:14 -04:00 committed by GitHub
parent 06139c11c0
commit 888366a15d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 3 deletions

View File

@ -223,7 +223,7 @@ builting color scheme.
If you'd like to factor your color schemes out into separate files, you
can create a file with a `[colors]` section; take a look at [one of
the available color schemes for an example](https://github.com/wez/wezterm/blob/main/assets/colors/Builtin%20Dark.toml).
the available color schemes for an example](https://github.com/wez/wezterm/config/src/scheme_data.rs).
It is recommended that you place your custom scheme in a directory
named `$HOME/.config/wezterm/colors` if you're on a POSIX system.

View File

@ -8,10 +8,9 @@ tags:
When set to `true`, clicking on a wezterm window will focus it.
When set to `false`,clickong on a wezterm window will focus it and then pass
When set to `false`, clicking on a wezterm window will focus it and then pass
through the click to the pane where the
[swallow_mouse_click_on_pane_focus](swallow_mouse_click_on_pane_focus.md)
option will further modify mouse event processing.
The default is `true` on macOS but `false` on other systems.

View File

@ -44,3 +44,13 @@ config.window_frame = {
border_top_color = 'purple',
}
```
You may specify the font and font size for the tabbar:
```lua
config.window_frame = {
font = require('wezterm').font 'Roboto',
font_size = 12,
}
```
The default font is `Roboto`. The default font_size is `10pt` on Windows and `12pt` on other systems.