On this page
curses.doupdate
Prev: curses.delay_output | Up: curses | Next: curses.echo
Rel: curses.assume_default_colors, curses.baudrate, curses.beep, curses.can_change_color
Ref: docs.python.org — curses.doupdate
Tags: #public #python3 #stdlib #curses
Import
import curses
from curses import doupdate
Signature & Overview
curses.doupdate()
Update the physical screen to match the virtual screen.
Usage
import curses
# Flushes all pending noutrefresh() window updates to the physical screen in one pass
assert callable(curses.doupdate)
Gotchas
- Prevents flicker: Call
win.noutrefresh()on each window, then a singlecurses.doupdate().
REPL Inspect
from curses import doupdate
help(doupdate)
Linked from
Related notes
- tuts/python3/stdlib_module/curses/delay_output Linked here; links to this page; shared tags: #curses, #stdlib
- tuts/python3/stdlib_module/curses/echo 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