emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/msdos.c,v


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/src/msdos.c,v
Date: Sat, 30 Aug 2008 13:05:23 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Eli Zaretskii <eliz>    08/08/30 13:05:23

Index: msdos.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/msdos.c,v
retrieving revision 1.222
retrieving revision 1.223
diff -u -b -r1.222 -r1.223
--- msdos.c     27 Aug 2008 19:07:07 -0000      1.222
+++ msdos.c     30 Aug 2008 13:05:19 -0000      1.223
@@ -1728,17 +1728,19 @@
 {
   struct tty_display_info *tty = CURTTY ();
 
-  if (tty->termscript)
-    fprintf (tty->termscript, "\nCURSOR %s", on ? "ON" : "OFF");
   if (on && cursor_cleared)
     {
       ScreenSetCursor (current_pos_Y, current_pos_X);
       cursor_cleared = 0;
+      if (tty->termscript)
+       fprintf (tty->termscript, "\nCURSOR ON");
     }
   else if (!on && !cursor_cleared)
     {
       ScreenSetCursor (-1, -1);
       cursor_cleared = 1;
+      if (tty->termscript)
+       fprintf (tty->termscript, "\nCURSOR OFF");
     }
 }
 




reply via email to

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