lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev small patch to dev20


From: Klaus Weide
Subject: Re: lynx-dev small patch to dev20
Date: Sat, 20 Mar 1999 11:26:20 -0600 (CST)

On Sat, 20 Mar 1999, Vlad Harchev wrote:

> * fix to turn off cursor when current file doesn't fit on the screen and there
> are no links on the page (otherwise cursor will blink on the status line) 
> (HVV) 
> 
> --- lynx-2.8.2dev20-orig/src/LYMainLoop.c     Mon Mar 15 23:55:43 1999
> +++ lynx-2.8.2dev20-fixed/src/LYMainLoop.c    Sat Mar 20 02:52:08 1999
> @@ -1522,6 +1522,8 @@
>           } else {
>              _statusline(HELP);
>           }
> +           /* turn off cursor since now it's probably on statusline -HV */
> +           move((LYlines - 1), (LYcols - 1));             
>       } else {
>          show_help = FALSE;
>       }

should probably be enclosed as

   #if defined(FANCY_CURSES) || defined(USE_SLANG)
           if (!LYShowCursor)
              move(...)
   #endif /* FANCY CURSES || USE_SLANG */

for consistency with some other places, and in order to not break some
sort of ancient curses or terminals that have problems positioning
cursor on last screen position.  Some comments elsewhere say

            /*
             *  Never hide the cursor if there's no FANCY CURSES or SLANG.
             */


   Klaus



reply via email to

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