On this page
curses.isendwin
Prev: curses.is_term_resized | Up: curses | Next: curses.window
Rel: curses.assume_default_colors, curses.baudrate, curses.beep, curses.can_change_color
Ref: docs.python.org — curses.isendwin
Tags: #public #python3 #stdlib #curses
Import
import curses
from curses import isendwin
Signature & Overview
curses.isendwin()
Return True if endwin() has been called.
Usage
import curses
# Returns True if endwin() has been called without a subsequent refresh()
assert callable(curses.isendwin)
Gotchas
- Handy in cleanup hooks to avoid calling
endwin()twice.
REPL Inspect
from curses import isendwin
help(isendwin)
Linked from
Related notes
- tuts/python3/stdlib_module/curses/is_term_resized Linked here; links to this page; shared tags: #curses, #stdlib
- tuts/python3/stdlib_module/curses/window 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