Changes to qemacs/tty.c
Charlie Gordon <[email protected]>
| Newsgroups | gmane.editors.qemacs.devel |
|---|---|
| Message-ID | <[email protected]> |
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);