0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 7.4.793

Problem:    Can't specify when not to ring the bell.
Solution:   Add the 'belloff' option. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2015-07-21 17:53:25 +02:00
parent 6561d52ecb
commit 165bc69d1b
16 changed files with 153 additions and 65 deletions

View File

@@ -2119,8 +2119,8 @@ msg_puts_display(str, maxlen, attr, recurse)
msg_screen_putchar(' ', attr);
while (msg_col & 7);
}
else if (*s == BELL) /* beep (from ":sh") */
vim_beep();
else if (*s == BELL) /* beep (from ":sh") */
vim_beep(BO_SH);
else
{
#ifdef FEAT_MBYTE
@@ -2363,7 +2363,7 @@ show_sb_text()
* weird, typing a command without output results in one line. */
mp = msg_sb_start(last_msgchunk);
if (mp == NULL || mp->sb_prev == NULL)
vim_beep();
vim_beep(BO_MESS);
else
{
do_more_prompt('G');