mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-20 07:14:26 +01:00
Do not fill screen, while muted.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
7f946da063
commit
19fbe1ea90
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264242
@ -208,7 +208,7 @@ terminal_set_winsize_blank(struct terminal *tm, const struct winsize *size,
|
|||||||
teken_set_winsize(&tm->tm_emulator, &r.tr_end);
|
teken_set_winsize(&tm->tm_emulator, &r.tr_end);
|
||||||
TERMINAL_UNLOCK(tm);
|
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)' ',
|
tm->tm_class->tc_fill(tm, &r, TCHAR_CREATE((teken_char_t)' ',
|
||||||
&default_message));
|
&default_message));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user