mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 06:54:45 +03:00
Create get_dimensions.md
Missing document.
Was not sure how to populate "Since" from the git has. Here is the commit: ba5d50ba9e
This commit is contained in:
parent
f35d58a031
commit
84a9cd6da3
12
docs/config/lua/window/get_dimensions.md
Normal file
12
docs/config/lua/window/get_dimensions.md
Normal file
@ -0,0 +1,12 @@
|
||||
# `window:get_dimensions()`
|
||||
|
||||
*Since: 20210307*
|
||||
|
||||
Returns a Lua table representing the dimensions for the Window.
|
||||
|
||||
The table has the following fields:
|
||||
|
||||
- `pixel_width`: the width of the window in pixels
|
||||
- `pixel_height`: the height of the window in pixels
|
||||
- `dpi`: The DPI of the screen the window in on
|
||||
- `is_full_screen`: whether the window is in full screen mode
|
Loading…
Reference in New Issue
Block a user