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: Mon, 09 May 2005 02:21:50 -0400

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) {




reply via email to

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