7stud <[EMAIL PROTECTED]> wrote: >I can't see to get any y, x coordinates to work with curses. Here is >an example: > >import curses > >def my_program(screen): > while True: > ch = screen.getch() > if ch == ord("q"): > break > if ch <= 255: > screen.addstr(30, 10, "*%s*" % chr(ch)) > screen.refresh() > >curses.wrapper(my_program)
Don't you want mvaddstr? (And remember that y comes first.) -- Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list