sdk/python/GUI/PyCurses
GUI

PyCurses

Python stdlib module — curses. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.baudrate()Neutral
#
Signature
baudrate()

Return the output speed of the terminal in bits per second.

.beep()Neutral
#
Signature
beep()

Emit a short attention sound.

.can_change_color()Neutral
#
Signature
can_change_color()

Return True if the programmer can change the colors displayed by the terminal.

.cbreak()Neutral
#
Signature
cbreak(flag)

Enter cbreak mode.

.color_content()Neutral
#
Signature
color_content(color_number)

Return the red, green, and blue (RGB) components of the specified color.

.color_pair()Neutral
#
Signature
color_pair(pair_number)

Return the attribute value for displaying text in the specified color.

.curs_set()Neutral
#
Signature
curs_set(visibility)

Set the cursor state.

.def_prog_mode()Neutral
#
Signature
def_prog_mode()

Save the current terminal mode as the "program" mode.

.def_shell_mode()Neutral
#
Signature
def_shell_mode()

Save the current terminal mode as the "shell" mode.

.delay_output()Neutral
#
Signature
delay_output(ms)

Insert a pause in output.

Fully-Qualified Names

FQNField
cursesfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import curses