aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
diff options
context:
space:
mode:
authorlonerover <pathfinder1644@yahoo.com>2017-03-22 08:28:03 +0800
committerlonerover <pathfinder1644@yahoo.com>2017-03-22 08:33:12 +0800
commitab16c07584ab4a5bc48784dde3b9b46d30e5e4a0 (patch)
treef52fa0f85d2e631ddd52da42b96163f08e444c5a /src/nvim/eval.c
parent7cc4e782a0d14be0bf648b3b938b1577bbb70df6 (diff)
downloadrneovim-ab16c07584ab4a5bc48784dde3b9b46d30e5e4a0.tar.gz
rneovim-ab16c07584ab4a5bc48784dde3b9b46d30e5e4a0.tar.bz2
rneovim-ab16c07584ab4a5bc48784dde3b9b46d30e5e4a0.zip
vim-patch:7.4.2283
Problem: Part of ":oldfiles" command isn't cleared. (Lifepillar) Solution: Clear the rest of the line. (closes 1018) https://github.com/vim/vim/commit/885c00eabe6d1fd757d4f0eb531ad3a15a35ec04
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r--src/nvim/eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 7eb149476f..e11b460edf 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -23628,6 +23628,7 @@ void ex_oldfiles(exarg_T *eap)
msg_outnum(++nr);
MSG_PUTS(": ");
msg_outtrans(get_tv_string(&li->li_tv));
+ msg_clr_eos();
msg_putchar('\n');
ui_flush(); /* output one line at a time */
os_breakcheck();