lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Re: LYMainLoop.c [PATCH]


From: Thomas Dickey
Subject: Re: [Lynx-dev] Re: LYMainLoop.c [PATCH]
Date: Sat, 2 Sep 2006 08:00:03 -0400 (EDT)

On Fri, 1 Sep 2006, William McBrine wrote:

Thomas Dickey <dickey <at> his.com> writes:

Anyway, it sounds as if DK's working around a bug in PDCurses.  The
proper place for that fix would be in stop_curses().

On every endwin(), per the spec, PDCurses moves the cursor to the first column of the last row. However, PDCurses doesn't operate at the stdio level, so the interaction of stdio calls (printf) with curses calls may not be as expected (which is why I tell people to avoid mixing them).

It's using the console API, right? Those calls should complete before the printf happens. If it were using stdio, the fflush in stop_curses() would do the right thing.

I can't say this isn't a bug in PDCurses, because I haven't tested it; but it
doesn't really sound like it.

or perhaps a limitation of the console API that doesn't appear when I do the same thing with vile?

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]