refactor(redraw): various simplifications

This commit is contained in:
bfredl
2022-09-27 15:24:09 +02:00
parent 6679687bb3
commit cce0840cbf
5 changed files with 79 additions and 106 deletions

View File

@@ -1159,10 +1159,6 @@ void wait_return(int redraw)
c = CAR; // no need for a return in ex mode
got_int = false;
} else {
// Make sure the hit-return prompt is on screen when 'guioptions' was
// just changed.
screenalloc();
State = MODE_HITRETURN;
setmouse();
cmdline_row = msg_row;