Python stdlib module — curses. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.can_change_color()Neutralcan_change_color()
Return True if the programmer can change the colors displayed by the terminal.
.color_content()Neutralcolor_content(color_number)
Return the red, green, and blue (RGB) components of the specified color.
.color_pair()Neutralcolor_pair(pair_number)
Return the attribute value for displaying text in the specified color.
.def_prog_mode()Neutraldef_prog_mode()
Save the current terminal mode as the "program" mode.
.def_shell_mode()Neutraldef_shell_mode()
Save the current terminal mode as the "shell" mode.
| FQN | Field | |
|---|---|---|
| curses | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import curses