diff src/gui_w32.c @ 28439:16bd027b039e v8.2.4744

patch 8.2.4744: a terminal window can't use the bell Commit: https://github.com/vim/vim/commit/77771d33f44bfb9f75eb857bd2f2bb4c2860cac3 Author: LemonBoy <thatlemon@gmail.com> Date: Wed Apr 13 11:47:25 2022 +0100 patch 8.2.4744: a terminal window can't use the bell Problem: A terminal window can't use the bell. Solution: Add bell support for the terminal window. (closes https://github.com/vim/vim/issues/10178)
author Bram Moolenaar <Bram@vim.org>
date Wed, 13 Apr 2022 13:00:06 +0200
parents 29b30e2376fe
children 893251eed714
line wrap: on
line diff
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -1696,7 +1696,7 @@ gui_mch_haskey(char_u *name)
     void
 gui_mch_beep(void)
 {
-    MessageBeep(MB_OK);
+    MessageBeep((UINT)-1);
 }
 /*
  * Invert a rectangle from row r, column c, for nr rows and nc columns.