qemacs-devel
[Top][All Lists]
Advanced

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

[Qemacs-devel] Changes to qemacs/tty.c


From: Charlie Gordon
Subject: [Qemacs-devel] Changes to qemacs/tty.c
Date: Sun, 08 May 2005 22:51:04 -0400

Index: qemacs/tty.c
diff -u qemacs/tty.c:1.6 qemacs/tty.c:1.7
--- qemacs/tty.c:1.6    Mon May  9 02:17:47 2005
+++ qemacs/tty.c        Mon May  9 02:51:04 2005
@@ -639,7 +639,12 @@
                             buf[0] = '.';
                             buf[1] = '\0';
                         } else {
-                            unicode_to_charset(buf, cc, s->charset);
+                            /* need a kludge for linedrawing chars */
+                            if (cc == 0x2500 || cc == 'x') {
+                                strcpy(buf, "\016x\017");
+                            } else {
+                                unicode_to_charset(buf, cc, s->charset);
+                            }
                         }
                         if (x != s->width - 1 || y != s->height - 1)
                             printf("%s", buf);




reply via email to

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