summaryrefslogtreecommitdiffstats
path: root/mbbsd/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/edit.c')
-rw-r--r--mbbsd/edit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c
index c2bdfe6a..a0e7dac2 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -2095,6 +2095,7 @@ display_textline_internal(textline_t *p, int i)
if (!p) {
outc('~');
+ outs(ANSI_CLRTOEND);
return;
}
@@ -3334,6 +3335,7 @@ vedit(char *fpath, int saveheader, int *islocal)
#endif // PMORE_USE_ASCII_MOVIE
edit_outs_attr(&curr_buf->currline->data[curr_buf->edit_margin], attr);
}
+ outs(ANSI_RESET ANSI_CLRTOEND);
edit_msg();
}
} /* redraw */