On this page
  1. curses.flushinp
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

curses.flushinp

Prev: curses.flash | Up: curses | Next: curses.get_escdelay
Rel: curses.assume_default_colors, curses.baudrate, curses.beep, curses.can_change_color
Ref: docs.python.org — curses.flushinp
Tags: #public #python3 #stdlib #curses


Import

import curses
from curses import flushinp

Signature & Overview

curses.flushinp()

Flush all input buffers.

Usage

import curses

# Discards any buffered unread keystrokes from the input queue
assert callable(curses.flushinp)

Gotchas

REPL Inspect

from curses import flushinp
help(flushinp)

Linked from

Related notes