On this page
  1. curses.getsyx
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

curses.getsyx

Prev: curses.getmouse | Up: curses | Next: curses.getwin
Rel: curses.assume_default_colors, curses.baudrate, curses.beep, curses.can_change_color
Ref: docs.python.org — curses.getsyx
Tags: #public #python3 #stdlib #curses


Import

import curses
from curses import getsyx

Signature & Overview

curses.getsyx()

Return the current coordinates of the virtual screen cursor.

Usage

import curses

# Returns current virtual screen cursor coordinates (y, x)
assert callable(curses.getsyx)

Gotchas

REPL Inspect

from curses import getsyx
help(getsyx)

Linked from

Related notes