aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index a24e8458a6..017787f238 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -4838,13 +4838,9 @@ static void ex_stop(exarg_T *eap)
}
apply_autocmds(EVENT_VIMSUSPEND, NULL, NULL, false, NULL);
- // TODO(bfredl): the TUI should do this on suspend
- ui_cursor_goto(Rows - 1, 0);
- ui_call_grid_scroll(1, 0, Rows, 0, Columns, 1, 0);
+ ui_call_suspend();
ui_flush();
- ui_call_suspend(); // call machine specific function
- ui_flush();
maketitle();
resettitle(); // force updating the title
ui_refresh(); // may have resized window