refs: https://github.com/wez/wezterm/pull/2273 refs: https://github.com/wez/wezterm/issues/2253
23 lines
408 B
Markdown
23 lines
408 B
Markdown
# ResetFontAndWindowSize
|
|
|
|
*Since: 20210314-114017-04b7cedd*
|
|
|
|
Reset both the font size and the terminal dimensions for the current window to
|
|
the values specified by your `font`, `initial_rows`, and `initial_cols` configuration.
|
|
|
|
```lua
|
|
local wezterm = require 'wezterm'
|
|
|
|
return {
|
|
keys = {
|
|
{
|
|
key = '0',
|
|
mods = 'CTRL',
|
|
action = wezterm.action.ResetFontAndWindowSize,
|
|
},
|
|
},
|
|
}
|
|
```
|
|
|
|
|