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.10 qemacs/tty.c:1.11
--- qemacs/tty.c:1.10	Mon May  9 03:32:19 2005
+++ qemacs/tty.c	Mon May  9 06:21:49 2005
@@ -113,7 +113,10 @@
     {
         int y, x;
         
-        printf("%s", "\030\032" "\r\xEF\x81\x81" "\033[6n\033D");
+        /*               ^X  ^Z    ^M   \170101  */
+        //printf("%s", "\030\032" "\r\xEF\x81\x81" "\033[6n\033D");
+        /* Just print utf-8 encoding for eacute and check cursor position */
+        printf("%s", "\030\032" "\r\xC3\xA9" "\033[6n\033D");
         scanf("\033[%u;%u", &y, &x);/* get cursor position */
         printf("\033[1F" "\033[%uX", (x-1)); /* go back; erase 1 or 3 char */
         if (x == 2) {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.