lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev small patch to dev20


From: Vlad Harchev
Subject: lynx-dev small patch to dev20
Date: Sat, 20 Mar 1999 03:05:28 +0400 (SAMT)

  Here is a tiny patch that will:

* shift options' descriptions on the --help screen by one character to the
left so that descriptions of 'buried_news'(when is on only) and 'nofilereferer'
(any value) and their current values will not to wrap to the next lines (HVV)
* 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) 

 Best regards,
  -Vlad

diff -ruP lynx-2.8.2dev20/src/LYMain.c lynx-2.8.2dev20-fixed/src/LYMain.c
--- lynx-2.8.2dev20-orig/src/LYMain.c   Mon Mar 15 23:55:43 1999
+++ lynx-2.8.2dev20-fixed/src/LYMain.c  Sat Mar 20 00:58:35 1999
@@ -2990,11 +2990,11 @@
     int pad;
     int c;
     int first;
-    int field_width = 21;
+    int field_width = 20;
 
-    pad = field_width - (5 + (int) strlen (name));
+    pad = field_width - (4 + (int) strlen (name));
 
-    fprintf (stdout, "    -%s", name);
+    fprintf (stdout, "   -%s", name);
 
     if (*help != '=') {
        pad--;
diff -ruP 2.8.2dev20/src/LYMainLoop.c lynx-2.8.2dev20-fixed/src/LYMainLoop.c
--- 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;
        }

reply via email to

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