Skip to content

Commit

Permalink
Merge pull request #16 from murarth/windows-fix-clear
Browse files Browse the repository at this point in the history
Windows: Fix clear fills wrong background color
  • Loading branch information
murarth authored Mar 14, 2020
2 parents 2b43aad + 773aad8 commit 832a451
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 832a451

Please sign in to comment.