-
Notifications
You must be signed in to change notification settings - Fork 846
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
Windows use window.getConsoleMode
results is not expected
#408
Comments
window.getConsoleMode
results not expected
window.getConsoleMode
results not expectedwindow.getConsoleMode
results is not expected
Just to make sure we’re understanding correctly, you're saying that arrow keys don't work properly after a Bubble Tea program exits, right? |
Yes, my English may not be good, the description is not very accurate, sorry |
Don't worry, I think I see the problem and will provide a fix soon! |
This should be fixed by #455. We try to restore the original mode on shutdown now. Please let us know if this works for you! |
No, that test was fine, and clearly there's still something wrong then. I'll re-open and investigate. How do you exit the textinput example? |
When I'm done typing, hit enter. The originalMode read under normal circumstances should be 503, but this value is not read in tea. |
OK, it works, Thanks! |
Thanks for confirming! |
On Windows run tea.program use
windows.GetConsoleMode
-> 992but default mode is
503
, so after running, the input direction key will be recognized as[[A
code:
最初由 fzdwx 在 #393 (comment) 发布
The text was updated successfully, but these errors were encountered: