curses.setsyx()?
linkmaster032000 at gmail.com
linkmaster032000 at gmail.com
Fri Sep 19 18:42:57 EDT 2008
On Sep 19, 1:24 am, Tim Roberts <t... at probo.com> wrote:
> linkmaster032... at gmail.com wrote:
>
> >I tried curses.setsyx(2,3) in my script and it doesn't move the curses
> >cursor. Any alternatives/solutions?
>
> Did you call doupdate after? setsyx just manipulates the data structures.
> It takes a call to doupdate to force those changes to take effect visually.
> --
> Tim Roberts, t... at probo.com
> Providenza & Boekelheide, Inc.
I added it and it still doesn't work. This is what I'm doing when I
want to display the cursor and prepare it for input at 2,3:
curses.echo()
curses.curs_set(1)
curses.setsyx(2,3)
curses.doupdate()
More information about the Python-list
mailing list