1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-01 00:35:46 +03:00
wezterm/docs/config/lua/keyassignment/ResetFontAndWindowSize.md

18 lines
363 B
Markdown
Raw Normal View History

# 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="ResetFontAndWindowSize"},
}
}
```