summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/io.c b/mbbsd/io.c
index e10259ec..fde21d3b 100644
--- a/mbbsd/io.c
+++ b/mbbsd/io.c
@@ -257,6 +257,7 @@ igetch(void)
int oldroll = roll;
int y, x, my_newfd;
+ // FIXME reveal heap data or crash if screen resize
getyx(&y, &x);
screen0=malloc(screen_backupsize(t_lines, big_picture));
screen_backup(t_lines, big_picture, screen0);