Merge #7173 'api/ui: externalize cmdline'

closes #6162
This commit is contained in:
Justin M. Keyes
2017-10-29 02:13:12 +02:00
10 changed files with 1153 additions and 316 deletions

View File

@@ -345,8 +345,9 @@ void update_screen(int type)
if (need_highlight_changed)
highlight_changed();
if (type == CLEAR) { /* first clear screen */
screenclear(); /* will reset clear_cmdline */
if (type == CLEAR) { // first clear screen
screenclear(); // will reset clear_cmdline
cmdline_screen_cleared(); // clear external cmdline state
type = NOT_VALID;
}