aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/misc1.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/misc1.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/misc1.c')
-rw-r--r--src/nvim/misc1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index 6de74fddf2..9630656f3f 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -2536,9 +2536,9 @@ void vim_beep(unsigned val)
if (emsg_silent == 0) {
if (!((bo_flags & val) || (bo_flags & BO_ALL))) {
if (p_vb) {
- ui_visual_bell();
+ ui_call_visual_bell();
} else {
- ui_putc(BELL);
+ ui_call_bell();
}
}
@@ -2691,7 +2691,7 @@ int call_shell(char_u *cmd, ShellOpts opts, char_u *extra_shell_arg)
if (p_verbose > 3) {
verbose_enter();
smsg(_("Calling shell to execute: \"%s\""), cmd == NULL ? p_sh : cmd);
- ui_putc('\n');
+ ui_linefeed();
verbose_leave();
}