screen: repaint the edit window in a single place -- the main loop

Instead of doing this in two places: after interpreting shortcuts,
and after injecting characters.
This commit is contained in:
Benno Schulenberg
2016-10-21 13:52:40 +02:00
parent 4d996e4c39
commit 2789bb0813
3 changed files with 15 additions and 18 deletions

View File

@@ -567,8 +567,7 @@ void display_buffer(void)
precalc_multicolorinfo();
#endif
/* Update the edit window. */
edit_refresh();
refresh_needed = TRUE;
}
#ifndef DISABLE_MULTIBUFFER