ex_getln: remove msg_scrolled cargo-cult magic, fixes #8251

This commit is contained in:
Björn Linse
2018-06-02 10:03:43 +02:00
parent 1efe65a155
commit 37e00c6e65
2 changed files with 110 additions and 3 deletions

View File

@@ -295,10 +295,7 @@ static uint8_t *command_line_enter(int firstc, long count, int indent)
redir_off = true; // don't redirect the typed command
if (!cmd_silent) {
s->i = msg_scrolled;
msg_scrolled = 0; // avoid wait_return message
gotocmdline(true);
msg_scrolled += s->i;
redrawcmdprompt(); // draw prompt or indent
set_cmdspos();
}