On this page
curses.has_ic
Prev: curses.has_extended_color_support | Up: curses | Next: curses.has_il
Rel: curses.assume_default_colors, curses.baudrate, curses.beep, curses.can_change_color
Ref: docs.python.org — curses.has_ic
Tags: #public #python3 #stdlib #curses
Import
import curses
from curses import has_ic
Signature & Overview
curses.has_ic()
Return True if the terminal has insert- and delete-character capabilities.
Usage
import curses
# Reports whether the terminal has hardware insert/delete-character capability
assert callable(curses.has_ic)
Gotchas
- Mostly historical: Modern terminal emulators handle redraws fast regardless.
REPL Inspect
from curses import has_ic
help(has_ic)
Linked from
Related notes
- tuts/python3/stdlib_module/curses/has_extended_color_support Linked here; links to this page; shared tags: #curses, #stdlib
- tuts/python3/stdlib_module/curses/has_il 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