aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2017-05-10 09:54:54 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2017-05-10 16:14:12 +0200
commit7d6af9985c057eef8f6bb2a625744df1b4ad0a72 (patch)
tree37b0cad73a42d11a9bfd65f21bd1abfae7460bf9 /src/nvim/ex_docmd.c
parentc778311505fe89e3f32ff3027f0a41f0a2b2fd95 (diff)
downloadrneovim-7d6af9985c057eef8f6bb2a625744df1b4ad0a72.tar.gz
rneovim-7d6af9985c057eef8f6bb2a625744df1b4ad0a72.tar.bz2
rneovim-7d6af9985c057eef8f6bb2a625744df1b4ad0a72.zip
ui: cleanup UI_CALL wrappers
remove pointless control chars in the text stream
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index cb02befeaf..a0406cf418 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -6285,13 +6285,14 @@ static void ex_stop(exarg_T *eap)
autowrite_all();
}
ui_cursor_goto((int)Rows - 1, 0);
- ui_putc('\n');
+ ui_linefeed();
+ ui_flush();
+ ui_call_suspend(); // call machine specific function
ui_flush();
- ui_suspend(); /* call machine specific function */
maketitle();
- resettitle(); /* force updating the title */
+ resettitle(); // force updating the title
redraw_later_clear();
- ui_refresh(); /* may have resized window */
+ ui_refresh(); // may have resized window
}
}