On this page
curses.erasechar
Prev: curses.endwin | Up: curses | Next: curses.error
Rel: curses.assume_default_colors, curses.baudrate, curses.beep, curses.can_change_color
Ref: docs.python.org — curses.erasechar
Tags: #public #python3 #stdlib #curses
Import
import curses
from curses import erasechar
Signature & Overview
curses.erasechar()
Return the user's current erase character.
Usage
import curses
# Returns the user's current erase (backspace) character as a 1-byte bytes object
assert callable(curses.erasechar)
Gotchas
- Requires an initialized curses screen.
REPL Inspect
from curses import erasechar
help(erasechar)
Linked from
Related notes
- tuts/python3/stdlib_module/curses/endwin Linked here; links to this page; shared tags: #curses, #stdlib
- tuts/python3/stdlib_module/curses/error 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