class documentation
Low-level screen management for curses applications.
Provides a wrapper around curses screen operations including initialization, input handling, and display management.
Method | __init__ |
Initialize the screen. |
Method | draw |
Draw text at the specified position. |
Method | get |
Get the next key from the input buffer. |
Method | refresh |
Refresh the screen to display pending changes. |
Instance Variable | _stdscr |
Undocumented |
Initialize the screen.
Parameters | |
keypad:bool | Whether to enable arrow keys and function keys (default: False). |
Draw text at the specified position.
Parameters | |
y:int | Row position. |
x:int | Column position. |
text:str | Text to draw. |
bold:bool | Whether to draw in bold style (default: False). |
underline:bool | Whether to draw in underline style (default: False). |