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

panicked: cannot get console mode #15

Closed
Rukenshia opened this issue Jun 13, 2018 · 3 comments
Closed

panicked: cannot get console mode #15

Rukenshia opened this issue Jun 13, 2018 · 3 comments

Comments

@Rukenshia
Copy link
Contributor

Hey,

one of my users is getting a weird error:

thread 'main' panicked at 'Cannot get console mode', /cargo/registry/src/github.com-1ecc6299db9ec823/crossterm-0.2.1/src/state/commands/win_commands.rs:48:21

He's on Windows 7, tried using cmd, cygwin and cmder but always gets the same error.

@TimonPost
Copy link
Member

TimonPost commented Jun 13, 2018

I found the problem I will update it directly when I am at home. I forgot to remove the panic!() lines in a file. Sorry for the problem. Which version are you using?

@Rukenshia
Copy link
Contributor Author

Rukenshia commented Jun 13, 2018 via email

TimonPost added a commit that referenced this issue Jun 13, 2018
Removed panic! lines. See [this](#15) issue
@TimonPost
Copy link
Member

If you upgrade to version 0.2.2 your error should be solved. Thanks for the reaction!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants