1
1
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:
Glenn Waters 2021-04-07 21:36:40 -04:00 committed by Wez Furlong
parent f35d58a031
commit 84a9cd6da3

View 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