[Python-de] ich kann die curses-Methode bkgd() nicht benutzen
Gerhard Häring
haering_python at gmx.de
Mon Mar 11 14:46:19 EST 2002
Le 10/03/02 à 23:18, Marco Herrn écrivit:
> Hallo,
>
> ich versuche mit python2.1 in einem Curses-Window den Hintergrund zu
> setzen. Leider funktioniert das bei mir nicht.
>
> curses.init_pair(1, curses.COLOR_BLACK, curses.COLOR_BLUE)
> stdscr.bkgd(' ', curses.color_pair(1))
Funktioniert bei mir mit Python 2.1.2 auch nicht.
Unter Python 2.2 funktioniert's bie mir allerdings (Debian sid). Evtl.
ein Bug, der inzwischen gefixt wurde?
Gerhard
--
This sig powered by Python!
Außentemperatur in München: 17.5 °C Wind: 2.3 m/s
More information about the Python-de
mailing list