Minor fixes

This commit is contained in:
Masahiko AMANO 2022-03-09 12:01:38 +03:00
parent 542667699e
commit ebd536897c
2 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,6 @@
public string Value = " "; public string Value = " ";
public bool IsMine; public bool IsMine;
public bool IsMarked; public bool IsMarked;
public Cell(bool mine) public Cell(bool mine)
{ {
if (mine) if (mine)

View File

@ -65,7 +65,7 @@
bool exit = false; bool exit = false;
while (true) while (true)
{ {
key = Console.ReadKey().Key; key = Console.ReadKey(true).Key;
if (key == ConsoleKey.Enter) if (key == ConsoleKey.Enter)
{ {
Console.Clear(); Console.Clear();