runtimepy.tui.cursor
index
/home/vkottler/src/vkottler/workspace/runtimepy/runtimepy/tui/cursor.py

A basic cursor implementation for TUIs.

 
Classes
       
builtins.object
Cursor

 
class Cursor(builtins.object)
    Cursor(window: Any) -> None
 
A simple cursor implementation.
 
  Methods defined here:
__init__(self, window: Any) -> None
Initialize this cursor.
inc_x(self, amount: int = 1) -> bool
Increment the cursor's X coordinate.
inc_y(self, amount: int = 1) -> bool
Increment the cursor's Y coordinate.
move(self, new_y: int = None, new_x: int = None) -> bool
Perform the underlying cursor move.
poll_max(self) -> bool
Update the min and max cursor positions.
reset(self) -> None
Reset this cursor.

Readonly properties defined here:
height
Get the height of this cursor's window.
width
Get the width of this cursor's window.

Data descriptors defined here:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object