ui: cleanup UI_CALL wrappers

remove pointless control chars in the text stream
This commit is contained in:
Björn Linse
2017-05-10 09:54:54 +02:00
parent c778311505
commit 7d6af9985c
10 changed files with 57 additions and 168 deletions

View File

@@ -5956,7 +5956,7 @@ void screen_fill(int start_row, int end_row, int start_col, int end_col, int c1,
col = off - LineOffset[row];
screen_stop_highlight();
ui_cursor_goto(row, col); // clear rest of this screen line
ui_eol_clear();
ui_call_eol_clear();
col = end_col - col;
while (col--) { /* clear chars in ScreenLines */
ScreenLines[off] = ' ';
@@ -6345,10 +6345,10 @@ static void screenclear2(void)
LineWraps[i] = FALSE;
}
ui_clear(); // clear the display
clear_cmdline = FALSE;
mode_displayed = FALSE;
screen_cleared = TRUE; /* can use contents of ScreenLines now */
ui_call_clear(); // clear the display
clear_cmdline = false;
mode_displayed = false;
screen_cleared = true; // can use contents of ScreenLines now
win_rest_invalid(firstwin);
redraw_cmdline = TRUE;
@@ -6647,7 +6647,7 @@ int screen_ins_lines (
}
}
ui_append_lines(line_count);
ui_call_scroll(-line_count);
return OK;
}
@@ -6702,7 +6702,7 @@ int screen_del_lines (
}
}
ui_delete_lines(line_count);
ui_call_scroll(line_count);
return OK;
}