Skip to content

Commit

Permalink
Windows: Fix clear fills wrong background color
Browse files Browse the repository at this point in the history
  • Loading branch information
murarth committed Mar 13, 2020
1 parent 380f934 commit 773aad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/windows/terminal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ impl<'a> TerminalWriteGuard<'a> {

result_bool(unsafe { FillConsoleOutputAttribute(
self.writer.out_handle,
0,
self.term.default_attrs,
n,
start,
&mut n_chars) })?;
Expand Down

0 comments on commit 773aad8

Please sign in to comment.