fix code style
This commit is contained in:
parent
11e91f7801
commit
711cd155b7
|
@ -187,9 +187,9 @@ namespace telegram {
|
|||
}
|
||||
|
||||
public static string ReadConsolePassword() {
|
||||
string pass = "";
|
||||
var pass = "";
|
||||
do {
|
||||
ConsoleKeyInfo key = Console.ReadKey(true);
|
||||
var key = Console.ReadKey(true);
|
||||
if (key.Key != ConsoleKey.Backspace && key.Key != ConsoleKey.Enter) {
|
||||
pass += key.KeyChar;
|
||||
Console.Write("*");
|
||||
|
|
Loading…
Reference in a new issue