mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 19:48:32 +00:00
ui: cleanup UI_CALL wrappers
remove pointless control chars in the text stream
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user