aboutsummaryrefslogtreecommitdiffstats
path: root/src/msdos.c
diff options
context:
space:
mode:
authorEli Zaretskii2010-08-06 17:54:06 +0300
committerEli Zaretskii2010-08-06 17:54:06 +0300
commitcb4545adef5f73617ed0ae1399a7507d12c6353e (patch)
tree467500cfc345f4af01a62aeedf1063f3206a2906 /src/msdos.c
parent0613f5d515c2f7fe7930ad5f7d3e177e1fd3b44c (diff)
downloademacs-cb4545adef5f73617ed0ae1399a7507d12c6353e.tar.gz
emacs-cb4545adef5f73617ed0ae1399a7507d12c6353e.zip
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.
Diffstat (limited to 'src/msdos.c')
-rw-r--r--src/msdos.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/msdos.c b/src/msdos.c
index dda24cc868f..fefefd9147c 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -1593,14 +1593,16 @@ IT_display_cursor (int on)
1593 ScreenSetCursor (current_pos_Y, current_pos_X); 1593 ScreenSetCursor (current_pos_Y, current_pos_X);
1594 cursor_cleared = 0; 1594 cursor_cleared = 0;
1595 if (tty->termscript) 1595 if (tty->termscript)
1596 fprintf (tty->termscript, "\nCURSOR ON"); 1596 fprintf (tty->termscript, "\nCURSOR ON (%dx%d)",
1597 current_pos_Y, current_pos_X);
1597 } 1598 }
1598 else if (!on && !cursor_cleared) 1599 else if (!on && !cursor_cleared)
1599 { 1600 {
1600 ScreenSetCursor (-1, -1); 1601 ScreenSetCursor (-1, -1);
1601 cursor_cleared = 1; 1602 cursor_cleared = 1;
1602 if (tty->termscript) 1603 if (tty->termscript)
1603 fprintf (tty->termscript, "\nCURSOR OFF"); 1604 fprintf (tty->termscript, "\nCURSOR OFF (%dx%d)",
1605 current_pos_Y, current_pos_X);
1604 } 1606 }
1605} 1607}
1606 1608