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

curses.filter

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


Import

import curses
from curses import filter

Signature & Overview

curses.filter()

Restrict screen updates to the current line.

Usage

import curses

# Restricts curses to a single-line screen; must be called BEFORE initscr()
assert callable(curses.filter)

Gotchas

REPL Inspect

from curses import filter
help(filter)

Linked from

Related notes