mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.2.4745: using wrong flag for using bell in the terminal
Problem: Using wrong flag for using bell in the terminal. Solution: Change to use BO_TERM.
This commit is contained in:
@@ -1095,11 +1095,10 @@ beep_flush(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Give a warning for an error.
|
* Give a warning for an error. "val" is one of the BO_ values, e.g., BO_OPER.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
vim_beep(
|
vim_beep(unsigned val)
|
||||||
unsigned val) // one of the BO_ values, e.g., BO_OPER
|
|
||||||
{
|
{
|
||||||
#ifdef FEAT_EVAL
|
#ifdef FEAT_EVAL
|
||||||
called_vim_beep = TRUE;
|
called_vim_beep = TRUE;
|
||||||
|
@@ -3391,7 +3391,7 @@ handle_postponed_scrollback(term_T *term)
|
|||||||
static int
|
static int
|
||||||
handle_bell(void *user UNUSED)
|
handle_bell(void *user UNUSED)
|
||||||
{
|
{
|
||||||
vim_beep(BO_SH);
|
vim_beep(BO_TERM);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -746,6 +746,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
4745,
|
||||||
/**/
|
/**/
|
||||||
4744,
|
4744,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user