]> granicus.if.org Git - neomutt/commitdiff
window: fix clear_screen
authorRichard Russon <rich@flatcap.org>
Mon, 30 Sep 2019 12:51:43 +0000 (13:51 +0100)
committerRichard Russon <rich@flatcap.org>
Mon, 30 Sep 2019 12:51:44 +0000 (13:51 +0100)
The compose screen wasn't being cleared properly by just `clearok()`.

mutt_window.c

index 71404864d93b34043b17951adbd9c68e873ec6b8..880d16809d5b0d8298d3f1b0d42f4ab5cc87d587 100644 (file)
@@ -438,5 +438,6 @@ int mutt_window_printf(const char *fmt, ...)
  */
 void mutt_window_clear_screen(void)
 {
-  clearok(stdscr, true);
+  move(0, 0);
+  clrtobot();
 }