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

curses.halfdelay

Prev: curses.getwin | Up: curses | Next: curses.has_colors
Rel: curses.assume_default_colors, curses.baudrate, curses.beep, curses.can_change_color
Ref: docs.python.org — curses.halfdelay
Tags: #public #python3 #stdlib #curses


Import

import curses
from curses import halfdelay

Signature & Overview

curses.halfdelay(tenths, /)

Enter half-delay mode.

Usage

import curses

# Like cbreak(), but getch() waits up to `tenths` (1..255) tenths of a second before raising
assert callable(curses.halfdelay)

Gotchas

REPL Inspect

from curses import halfdelay
help(halfdelay)

Linked from

Related notes