Skip to content

Commit 367d5b3

Browse files
authored
Merge pull request #15 from dclamage/clear-console-background
Invalidate the entire client area for the console edit control after creating it
2 parents 6b382b3 + 11fb90b commit 367d5b3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

engine/system/win/sys_console.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ void sys_console_c::ThreadProc()
130130

131131
// Create the output window background brush
132132
bBackground = CreateSolidBrush(CFG_SCON_TEXTBG);
133+
InvalidateRect(hwOut, nullptr, TRUE);
133134

134135
// Flush any messages created
135136
sys->RunMessages();

0 commit comments

Comments
 (0)