diff src/msdos.c @ 109660:85236524c2a3

Fix redisplay bugs due to uninitialized glyphs in frame glyph pool. dispnew.c (realloc_glyph_pool): Zero out newly allocated glyphs. msdos.c (IT_display_cursor): Log cursor position on termscript. .gdbinit (pgx): Display the avoid_cursor_p flag.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 06 Aug 2010 17:54:06 +0300
parents 228a5fa4eda0
children d9a022ec322c
line wrap: on
line diff
--- a/src/msdos.c	Thu Aug 05 21:09:54 2010 -0700
+++ b/src/msdos.c	Fri Aug 06 17:54:06 2010 +0300
@@ -1593,14 +1593,16 @@
       ScreenSetCursor (current_pos_Y, current_pos_X);
       cursor_cleared = 0;
       if (tty->termscript)
-	fprintf (tty->termscript, "\nCURSOR ON");
+	fprintf (tty->termscript, "\nCURSOR ON (%dx%d)",
+		 current_pos_Y, current_pos_X);
     }
   else if (!on && !cursor_cleared)
     {
       ScreenSetCursor (-1, -1);
       cursor_cleared = 1;
       if (tty->termscript)
-	fprintf (tty->termscript, "\nCURSOR OFF");
+	fprintf (tty->termscript, "\nCURSOR OFF (%dx%d)",
+		 current_pos_Y, current_pos_X);
     }
 }