On Sep 23, 4:16 pm, [EMAIL PROTECTED] wrote:
> On Sep 22, 11:24 pm, Tim Roberts <[EMAIL PROTECTED]> wrote:
>
>
>
> > [EMAIL PROTECTED] wrote:
> > >On Sep 19, 6:42 pm, [EMAIL PROTECTED] wrote:
> > >> On Sep 19, 1:24 am, Tim Roberts <[EMAIL PROTECTED]> wrote:
>
> > >> > [EMAIL PROTECTED] 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, [EMAIL PROTECTED]
> > >> > 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()
>
> > >Any idea what's wrong?
>
> > No.  Are you able to post an entire sample that demonstrates the problem?
> > --
> > Tim Roberts, [EMAIL PROTECTED]
> > Providenza & Boekelheide, Inc.
>
> http://pastebin.com/m6413db1
>
> Run that and press 'n' key. It is supposed to move the cursor to 2,3
> and it doesn't.

Sorry that was me, forgot to switch emails. But yes that is it. Remove
the line about ppm/settings.conf if you don't want to create it
because it will throw an exception.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to