Do not fill screen, while muted.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Aleksandr Rybalko 2014-04-07 22:37:13 +00:00
parent 7f946da063
commit 19fbe1ea90
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264242

View File

@ -208,7 +208,7 @@ terminal_set_winsize_blank(struct terminal *tm, const struct winsize *size,
teken_set_winsize(&tm->tm_emulator, &r.tr_end);
TERMINAL_UNLOCK(tm);
if (blank != 0)
if ((blank != 0) && !(tm->tm_flags & TF_MUTE))
tm->tm_class->tc_fill(tm, &r, TCHAR_CREATE((teken_char_t)' ',
&default_message));