On this page
curses.echo
Prev: curses.doupdate | Up: curses | Next: curses.endwin
Rel: curses.assume_default_colors, curses.baudrate, curses.beep, curses.can_change_color
Ref: docs.python.org — curses.echo
Tags: #public #python3 #stdlib #curses
Import
import curses
from curses import echo
Signature & Overview
curses.echo(flag=True, /)
Enter echo mode.
Usage
import curses
# Re-enables echoing typed characters to the terminal (opposite of noecho())
assert callable(curses.echo)
Gotchas
- Disabled by
curses.wrapper(): Re-enable temporarily aroundwin.getstr()prompts, then callnoecho()again.
REPL Inspect
from curses import echo
help(echo)
Linked from
Related notes
- tuts/python3/stdlib_module/curses/doupdate Linked here; links to this page; shared tags: #curses, #stdlib
- tuts/python3/stdlib_module/curses/endwin Linked here; links to this page; shared tags: #curses, #stdlib
- tuts/python3/stdlib_module/curses Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/curses/assume_default_colors Linked here; shared tags: #curses, #stdlib
- tuts/python3/stdlib_module/curses/baudrate Linked here; shared tags: #curses, #stdlib
- tuts/python3/stdlib_module/curses/beep Linked here; shared tags: #curses, #stdlib
- tuts/python3/stdlib_module/curses/can_change_color Linked here; shared tags: #curses, #stdlib
- tuts/python3/stdlib_module/curses/cbreak shared tags: #curses, #stdlib
- tuts/python3/stdlib_module/curses/color_content shared tags: #curses, #stdlib
- tuts/python3/stdlib_module/curses/color_pair shared tags: #curses, #stdlib