aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-02-09 20:56:30 +0100
committerbfredl <bjorn.linse@gmail.com>2023-02-09 21:39:56 +0100
commit30b29a36e80bfeed50bb6ea618401fe35100490f (patch)
tree54aa923c968f95a89ff3c8c10ba4fdc7d26dadff /src/nvim/ui.c
parent257765d9e0f20dc060f496ed400b16203e44dc9c (diff)
downloadrneovim-30b29a36e80bfeed50bb6ea618401fe35100490f.tar.gz
rneovim-30b29a36e80bfeed50bb6ea618401fe35100490f.tar.bz2
rneovim-30b29a36e80bfeed50bb6ea618401fe35100490f.zip
refactor(ui): remove some superfluous ui_flush() calls
- <expr> mapping has no business saving and restoring the low-level UI cursor. The cursor will be put in a reasonable position after input is processed, chill out. - TUI handles output needed for suspend - vgetc() family of function does flushing
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r--src/nvim/ui.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c
index b22dc4a661..8172a46773 100644
--- a/src/nvim/ui.c
+++ b/src/nvim/ui.c
@@ -472,11 +472,6 @@ int ui_current_col(void)
return cursor_col;
}
-handle_T ui_cursor_grid(void)
-{
- return cursor_grid_handle;
-}
-
void ui_flush(void)
{
assert(!ui_client_channel_id);