Skip to content

Commit

Permalink
address Ilya's feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveL-MSFT committed Aug 12, 2020
1 parent f651490 commit fd0a4f4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -576,7 +576,7 @@ private void WriteToConsole(ReadOnlySpan<char> value, bool transcribeResult, boo
ConsoleControl.ConsoleModes.ProcessedOutput
| ConsoleControl.ConsoleModes.WrapEndOfLine;

if ((m & DesiredMode) != DesiredMode)
if (!m.HasFlag(DesiredMode))
{
m |= DesiredMode;
ConsoleControl.SetMode(handle, m);
Expand Down

0 comments on commit fd0a4f4

Please sign in to comment.