diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2023-04-28 20:26:02 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-28 20:26:02 +0800 |
| commit | 4f235e3cafba5dc305aa0be33cdec093e9c5a92d (patch) | |
| tree | 39ce58d2874eb944a2755702a0c0f70a19979972 /src/nvim/tui | |
| parent | 727ec8d59d64987ff0ac5ccbc67d666a6afe11a6 (diff) | |
| download | rneovim-4f235e3cafba5dc305aa0be33cdec093e9c5a92d.tar.gz rneovim-4f235e3cafba5dc305aa0be33cdec093e9c5a92d.tar.bz2 rneovim-4f235e3cafba5dc305aa0be33cdec093e9c5a92d.zip | |
fix(tui): position cursor at bottom-left before stopping (#23369)
Fix #23361
Diffstat (limited to 'src/nvim/tui')
| -rw-r--r-- | src/nvim/tui/tui.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c index 2f4ff13bde..975ad375a0 100644 --- a/src/nvim/tui/tui.c +++ b/src/nvim/tui/tui.c @@ -437,6 +437,8 @@ static void tui_terminal_stop(TUIData *tui) } tinput_stop(&tui->input); signal_watcher_stop(&tui->winch_handle); + // Position the cursor on the last screen line, below all the text + cursor_goto(tui, tui->height - 1, 0); terminfo_stop(tui); } |