Thanks! (silly me)
[EMAIL PROTECTED] wrote:
> shablool wrote:
> > Could someone please explain why stdscr.getxy() always raise an
> > exception:
> [code here]
> the method is named getyx(), this is old unix heritage.
> see http://www.python.org/doc/2.0.1/lib/curses-windo
Hi,
Could someone please explain why stdscr.getxy() always raise an
exception:
import curses
import traceback
def init(stdscr):
x = y = 0
while 1:
c = stdscr.getch()
if c == ord('q'):
break
stdscr.addch(c)
(x, y) = stdscr.getxy()
stdscr.