How to scroll text in Python/Curses subwindow?
Posted
by lecodesportif
on Stack Overflow
See other posts from Stack Overflow
or by lecodesportif
Published on 2010-03-25T12:04:53Z
Indexed on
2010/03/25
13:43 UTC
Read the original article
Hit count: 378
In my Python script which uses Curses, I have a subwin to which some text is assigned. Because the text length may be longer than the window size, the text should be scrollable.
It doesn't seem that there is any CSS-"overflow" like attribute for Curses windows. The Python/Curses docs are also rather cryptic on this aspect.
Does anybody here have an idea how I can code a scrollable Curses subwindow using Python and actually scroll through it?
\edit: more precise question
© Stack Overflow or respective owner