In a first attempt to add types I ran into trouble. First a code snippet
( full code at
https://gist.github.com/ingoogni/460676b11e5a04ed3a3ac93ae0e1fddd )
_matchline: Pattern[str] = re.compile(r"(?P^\s*$)|(?P[\t]*)"
"((?P[A-Z]+):)?([ \t]*)(?P.*)")
def proc_matchlns(mo
I wanted to be able to change the background screen color of a
terminal window using curses. My weak Google-Foo did not turn up a
clear example of how to do this despite much searching. The two
_obvious_curses methods to attempt this seemed to be
window.bkgdset(ch, attr) to initially set a window
On 02Mar2019 15:16, boB Stepp wrote:
I wanted to be able to change the background screen color of a
terminal window using curses. My weak Google-Foo did not turn up a
clear example of how to do this despite much searching. The two
_obvious_curses methods to attempt this seemed to be
window.bkg
On Sat, Mar 2, 2019 at 4:28 PM Cameron Simpson wrote:
> Is the painting of the screen with spaces actually required? I would
> have thought not (again, untested). The main window (stdscr) should
> start filled with spaces.
I had read this along the way, but had forgotten it.
> [Reads more close
On 02Mar2019 22:32, boB Stepp wrote:
BTW, my Linux Mint installation did *not* have the man pages for
ncurses, even though it was installed. I had to manually fetch the
man pages myself.
Maybe they're in a separate -dev or -doc package? Sometimes the base
package (eg "libncurses") contains o