Skip to content

Commit

Permalink
Fix '@' appearing in console (#1092)
Browse files Browse the repository at this point in the history
* Fix '@' appearing in console

* Name param
  • Loading branch information
rjmholt authored and TylerLeonhardt committed Nov 13, 2019
1 parent 651cdfa commit 7e2b6e7
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,12 @@ internal static ConsoleKeyInfo SafeReadKey(bool intercept, CancellationToken can
}
catch (OperationCanceledException)
{
return default(ConsoleKeyInfo);
return new ConsoleKeyInfo(
keyChar: ' ',
ConsoleKey.DownArrow,
shift: false,
alt: false,
control: false);
}
}
}
Expand Down

0 comments on commit 7e2b6e7

Please sign in to comment.