Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backspace not working when create key in CLI. #983

Closed
Nebu1eto opened this issue Sep 2, 2020 · 2 comments
Closed

Backspace not working when create key in CLI. #983

Nebu1eto opened this issue Sep 2, 2020 · 2 comments
Labels
bug Something isn't working tools Related to CLI tools (Libplanet.Tools)

Comments

@Nebu1eto
Copy link
Contributor

Nebu1eto commented Sep 2, 2020

Issue

  • When Using Libplanet.Tools, Backspace not working in input passphrase.
  • Only Works Well in Windows.

Testing Environment

  • WSL2 Ubuntu 18.04 in Windows 10 2004
  • macOS 10.15
@dahlia dahlia added bug Something isn't working tools Related to CLI tools (Libplanet.Tools) labels Sep 2, 2020
@Nebu1eto
Copy link
Contributor Author

Nebu1eto commented Sep 2, 2020

This Project using GetPass, but I created Sample Project. It works well in Every Environment.

using System;
using GetPass;

namespace Sample
{
    class Program
    {
        static void Main(string[] args)
        {
            var password = ConsolePasswordReader.Read();
            Console.Write(password);
            Console.WriteLine();
        }
    }
}

@dahlia
Copy link
Contributor

dahlia commented Sep 2, 2020

Thank you for reporting!

I guess this happens because GetPass does synchronous I/O whereas the entire planet runs on async mode… 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tools Related to CLI tools (Libplanet.Tools)
Projects
None yet
Development

No branches or pull requests

2 participants