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

curses.intrflush

Prev: curses.initscr | Up: curses | Next: curses.is_term_resized
Rel: curses.assume_default_colors, curses.baudrate, curses.beep, curses.can_change_color
Ref: docs.python.org — curses.intrflush
Tags: #public #python3 #stdlib #curses


Import

import curses
from curses import intrflush

Signature & Overview

curses.intrflush(flag, /)

Control flushing of the output buffer when an interrupt key is pressed.

Usage

import curses

# Controls whether interrupt keys (Ctrl-C) flush pending terminal output
assert callable(curses.intrflush)

Gotchas

REPL Inspect

from curses import intrflush
help(intrflush)

Linked from

Related notes