baudrate() |
Return the output speed of the terminal in bits per second. [extrait de baudrate.__doc__] |
beep() |
Emit a short attention sound. [extrait de beep.__doc__] |
can_change_color() |
Return True if the programmer can change the colors displayed by the terminal. [extrait de can_change_color.__doc__] |
cbreak(flag=True) |
Enter cbreak mode. [extrait de cbreak.__doc__] |
color_content(color_number) |
Return the red, green, and blue (RGB) components of the specified color. [extrait de color_content.__doc__] |
color_pair(pair_number) |
Return the attribute value for displaying text in the specified color. [extrait de color_pair.__doc__] |
curs_set(visibility) |
Set the cursor state. [extrait de curs_set.__doc__] |
def_prog_mode() |
Save the current terminal mode as the "program" mode. [extrait de def_prog_mode.__doc__] |
def_shell_mode() |
Save the current terminal mode as the "shell" mode. [extrait de def_shell_mode.__doc__] |
delay_output(ms) |
Insert a pause in output. [extrait de delay_output.__doc__] |
doupdate() |
Update the physical screen to match the virtual screen. [extrait de doupdate.__doc__] |
echo(flag=True) |
Enter echo mode. [extrait de echo.__doc__] |
endwin() |
De-initialize the library, and return terminal to normal status. [extrait de endwin.__doc__] |
erasechar() |
Return the user's current erase character. [extrait de erasechar.__doc__] |
filter() |
|
flash() |
Flash the screen. [extrait de flash.__doc__] |
flushinp() |
Flush all input buffers. [extrait de flushinp.__doc__] |
get_escdelay() |
Gets the curses ESCDELAY setting. [extrait de get_escdelay.__doc__] |
get_tabsize() |
Gets the curses TABSIZE setting. [extrait de get_tabsize.__doc__] |
getmouse() |
Retrieve the queued mouse event. [extrait de getmouse.__doc__] |
getsyx() |
Return the current coordinates of the virtual screen cursor. [extrait de getsyx.__doc__] |
getwin(file) |
Read window related data stored in the file by an earlier putwin() call. [extrait de getwin.__doc__] |
halfdelay(tenths) |
Enter half-delay mode. [extrait de halfdelay.__doc__] |
has_colors() |
Return True if the terminal can display colors; otherwise, return False. [extrait de has_colors.__doc__] |
has_extended_color_support() |
Return True if the module supports extended colors; otherwise, return False. [extrait de has_extended_color_support.__doc__] |
has_ic() |
Return True if the terminal has insert- and delete-character capabilities. [extrait de has_ic.__doc__] |
has_il() |
Return True if the terminal has insert- and delete-line capabilities. [extrait de has_il.__doc__] |
has_key(key) |
Return True if the current terminal type recognizes a key with that value. [extrait de has_key.__doc__] |
init_color(color_number, r, g, b) |
Change the definition of a color. [extrait de init_color.__doc__] |
init_pair(pair_number, fg, bg) |
Change the definition of a color-pair. [extrait de init_pair.__doc__] |
initscr() |
|
intrflush(flag) |
|
is_term_resized(nlines, ncols) |
Return True if resize_term() would modify the window structure, False otherwise. [extrait de is_term_resized.__doc__] |
isendwin() |
Return True if endwin() has been called. [extrait de isendwin.__doc__] |
keyname(key) |
Return the name of specified key. [extrait de keyname.__doc__] |
killchar() |
Return the user's current line kill character. [extrait de killchar.__doc__] |
longname() |
Return the terminfo long name field describing the current terminal. [extrait de longname.__doc__] |
meta(yes) |
Enable/disable meta keys. [extrait de meta.__doc__] |
mouseinterval(interval) |
Set and retrieve the maximum time between press and release in a click. [extrait de mouseinterval.__doc__] |
mousemask(newmask) |
Set the mouse events to be reported, and return a tuple (availmask, oldmask). [extrait de mousemask.__doc__] |
napms(ms) |
Sleep for specified time. [extrait de napms.__doc__] |
newpad(nlines, ncols) |
Create and return a pointer to a new pad data structure. [extrait de newpad.__doc__] |
newwin |
newwin(nlines, ncols, [begin_y=0, begin_x=0]) [extrait de newwin.__doc__] |
nl(flag=True) |
Enter newline mode. [extrait de nl.__doc__] |
nocbreak() |
Leave cbreak mode. [extrait de nocbreak.__doc__] |
noecho() |
Leave echo mode. [extrait de noecho.__doc__] |
nonl() |
Leave newline mode. [extrait de nonl.__doc__] |
noqiflush() |
Disable queue flushing. [extrait de noqiflush.__doc__] |
noraw() |
Leave raw mode. [extrait de noraw.__doc__] |
pair_content(pair_number) |
Return a tuple (fg, bg) containing the colors for the requested color pair. [extrait de pair_content.__doc__] |
pair_number(attr) |
Return the number of the color-pair set by the specified attribute value. [extrait de pair_number.__doc__] |
putp(string) |
Emit the value of a specified terminfo capability for the current terminal. [extrait de putp.__doc__] |
qiflush(flag=True) |
Enable queue flushing. [extrait de qiflush.__doc__] |
raw(flag=True) |
Enter raw mode. [extrait de raw.__doc__] |
reset_prog_mode() |
Restore the terminal to "program" mode, as previously saved by def_prog_mode(). [extrait de reset_prog_mode.__doc__] |
reset_shell_mode() |
Restore the terminal to "shell" mode, as previously saved by def_shell_mode(). [extrait de reset_shell_mode.__doc__] |
resetty() |
Restore terminal mode. [extrait de resetty.__doc__] |
resize_term(nlines, ncols) |
Backend function used by resizeterm(), performing most of the work. [extrait de resize_term.__doc__] |
resizeterm(nlines, ncols) |
Resize the standard and current windows to the specified dimensions. [extrait de resizeterm.__doc__] |
savetty() |
Save terminal mode. [extrait de savetty.__doc__] |
set_escdelay(ms) |
Sets the curses ESCDELAY setting. [extrait de set_escdelay.__doc__] |
set_tabsize(size) |
Sets the curses TABSIZE setting. [extrait de set_tabsize.__doc__] |
setsyx(y, x) |
Set the virtual screen cursor. [extrait de setsyx.__doc__] |
setupterm(term=None, fd=-1) |
Initialize the terminal. [extrait de setupterm.__doc__] |
start_color() |
|
termattrs() |
Return a logical OR of all video attributes supported by the terminal. [extrait de termattrs.__doc__] |
termname() |
Return the value of the environment variable TERM, truncated to 14 characters. [extrait de termname.__doc__] |
tigetflag(capname) |
Return the value of the Boolean capability. [extrait de tigetflag.__doc__] |
tigetnum(capname) |
Return the value of the numeric capability. [extrait de tigetnum.__doc__] |
tigetstr(capname) |
Return the value of the string capability. [extrait de tigetstr.__doc__] |
tparm(str, i1=0, i2=0, i3=0, i4=0, i5=0, i6=0, i7=0, i8=0, i9=0) |
Instantiate the specified byte string with the supplied parameters. [extrait de tparm.__doc__] |
typeahead(fd) |
Specify that the file descriptor fd be used for typeahead checking. [extrait de typeahead.__doc__] |
unctrl(ch) |
Return a string which is a printable representation of the character ch. [extrait de unctrl.__doc__] |
unget_wch(ch) |
Push ch so the next get_wch() will return it. [extrait de unget_wch.__doc__] |
ungetch(ch) |
Push ch so the next getch() will return it. [extrait de ungetch.__doc__] |
ungetmouse(id, x, y, z, bstate) |
Push a KEY_MOUSE event onto the input queue. [extrait de ungetmouse.__doc__] |
update_lines_cols() |
|
use_default_colors() |
Allow use of default values for colors on terminals supporting this feature. [extrait de use_default_colors.__doc__] |
use_env(flag) |
Use environment variables LINES and COLUMNS. [extrait de use_env.__doc__] |
wrapper(func, /, *args, **kwds) |
Wrapper function that initializes curses and calls another function, [extrait de wrapper.__doc__] |
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :