vile
[Top][All Lists]
Advanced

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

Re: [vile] vile-9.6j.patch.gz


From: Thomas Dickey
Subject: Re: [vile] vile-9.6j.patch.gz
Date: Wed, 26 Mar 2008 21:03:46 -0400 (EDT)

On Wed, 26 Mar 2008, Thomas Dickey wrote:

I see - can reproduce it here. It looks as if vile's got confused at some point (there are a half-dozen knots in display.c which I thought were all aligned). It should show as \?A3 and track the cursor according to that 4-column width. The cursor is moving properly, but the display isn't.

This seems to fix it:

--- display.c   2008/03/06 01:10:52     1.471
+++ display.c   2008/03/26 23:06:14
@@ -732,7 +732,7 @@
    if (w_val(wp, WMDLIST)) {
       rc = vtlistc(wp, src, limit);
    } else if (b_is_utfXX(wp->w_bufp)
-              && column_sizes(wp, src, limit, &rc) == COLS_UTF8) {
+              && column_sizes(wp, src, limit, &rc) >= COLS_8BIT) {
       rc = vtlistc(wp, src, limit);
    } else {
       rc = vtputc(wp, src, limit);

I added a couple of related fixes, put a snapshot in

ftp://invisible-island.net/temp/vile-9.6j2.tgz

(will be testing that further - but also want to get more info about
the other bug report)

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




reply via email to

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