lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev Another patch, UTF-8 display with ncurses


From: Klaus Weide
Subject: lynx-dev Another patch, UTF-8 display with ncurses
Date: Wed, 27 Oct 1999 20:07:30 -0500 (CDT)

Another small patch, I also put it in
     <http://enteract.com/~kweide/lynx/>
(to use on top of previous patches found there)

* The previous changes in link redrawing made things worse instead
  of better for UTF-8 display with ncurses (without color style).
  This time (using wredrawln, not touchline) it should really get
  better...

[ The UTF-8 related changes would need testing with non-ncurses
  curses libs, if anyone has one of those AND a working UTF-8
  environment - late xterm betas(?) from Tom's site should do.
  If the functions used for ncurses are available in other curses
  libs, the code should probably look the same as for ncurses. ]


--- lynx2-8-3.old/src/GridText.c        Tue Oct 26 00:56:20 1999
+++ lynx2-8-3/src/GridText.c    Wed Oct 27 19:46:48 1999
@@ -13126,9 +13126,9 @@
 #ifdef USE_SLANG
            SLsmg_touch_lines(YP, 1);
 #elif defined(NCURSES_VERSION)
-           touchline(stdscr, YP, 1);
+           wredrawln(stdscr, YP, 1);
 #else
-           touchwin(stdscr);
+           touchline(stdscr, YP, 1); /* or something else? */
 #endif
        }
     }


reply via email to

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