Window Class
- class pynvim.api.Window(session: IRemote, code_data: Tuple[int, Any])[source]
A remote Nvim window.
- property col: int
0-indexed, on-screen window position(col) in display cells.
- property cursor: Tuple[int, int]
Get the (row, col) tuple with the current cursor position.
- property height: int
Get the window height in rows.
- property number: int
Get the window number.
- property row: int
0-indexed, on-screen window position(row) in display cells.
- property valid: bool
Return True if the window still exists.
- property width: int
Get the window width in rows.