mirror of
https://github.com/wez/wezterm.git
synced 2024-12-18 19:01:36 +03:00
18 lines
358 B
Markdown
18 lines
358 B
Markdown
|
# ResetFontAndWindowSize
|
||
|
|
||
|
*Since: nightly builds only*
|
||
|
|
||
|
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"},
|
||
|
}
|
||
|
}
|
||
|
```
|
||
|
|
||
|
|