window-ports should respect flags.silent setting

Like tty_nhbell() in termcap.c, window-ports really should
respect the flags.silent setting.
This commit is contained in:
nhmall
2023-03-24 12:23:19 -04:00
parent a136dbac06
commit 07ba3904fd
4 changed files with 9 additions and 4 deletions

View File

@@ -977,7 +977,8 @@ nhbell() -- Beep at user. [This will exist at least until sounds are
void
curses_nhbell(void)
{
beep();
if (!flags.silent)
beep();
}
/*