Mercurial > vim
comparison src/message.c @ 6949:1e621b31948b v7.4.793
patch 7.4.793
Problem: Can't specify when not to ring the bell.
Solution: Add the 'belloff' option. (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 21 Jul 2015 17:53:25 +0200 |
parents | 47ebd4065059 |
children | 37c929c4a073 |
comparison
equal
deleted
inserted
replaced
6948:50dfc96920a8 | 6949:1e621b31948b |
---|---|
2117 { | 2117 { |
2118 do | 2118 do |
2119 msg_screen_putchar(' ', attr); | 2119 msg_screen_putchar(' ', attr); |
2120 while (msg_col & 7); | 2120 while (msg_col & 7); |
2121 } | 2121 } |
2122 else if (*s == BELL) /* beep (from ":sh") */ | 2122 else if (*s == BELL) /* beep (from ":sh") */ |
2123 vim_beep(); | 2123 vim_beep(BO_SH); |
2124 else | 2124 else |
2125 { | 2125 { |
2126 #ifdef FEAT_MBYTE | 2126 #ifdef FEAT_MBYTE |
2127 if (has_mbyte) | 2127 if (has_mbyte) |
2128 { | 2128 { |
2361 | 2361 |
2362 /* Only show something if there is more than one line, otherwise it looks | 2362 /* Only show something if there is more than one line, otherwise it looks |
2363 * weird, typing a command without output results in one line. */ | 2363 * weird, typing a command without output results in one line. */ |
2364 mp = msg_sb_start(last_msgchunk); | 2364 mp = msg_sb_start(last_msgchunk); |
2365 if (mp == NULL || mp->sb_prev == NULL) | 2365 if (mp == NULL || mp->sb_prev == NULL) |
2366 vim_beep(); | 2366 vim_beep(BO_MESS); |
2367 else | 2367 else |
2368 { | 2368 { |
2369 do_more_prompt('G'); | 2369 do_more_prompt('G'); |
2370 wait_return(FALSE); | 2370 wait_return(FALSE); |
2371 } | 2371 } |