-
-
Notifications
You must be signed in to change notification settings - Fork 320
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
Lost keyboard input after suspend on Windows 10 PowerShell #449
Comments
This does not seem to be a problem running the mouse.go demo application on Windows 10. Can you share a bit more about what you're doing in the suspend? |
(For mouse.go, just press ctrl-z to "suspend".) |
Thank you for the prompt reply Garrett! |
The only thing I did in v2.2.1 for Windows different was to fix the cursor. |
FYI I've reverted commits 3d0a and d20e and my app is now working correctly after suspend/resume on windows... |
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
-->3d0a has nothing to do with Windows, and shouldn’t even be part of your binary. (Assuming you mean d003d0a) However e37d20e is interesting. I need to look more closely at this. Sent from Mail for Windows 10 From: Fernand GalianaSent: Monday, April 19, 2021 10:36 AMTo: gdamore/tcellCc: gdamore; CommentSubject: Re: [gdamore/tcell] Lost keyboard input after suspend on Windows 10 PowerShell... (#449) FYI I've reverted commits 3d0a and d20e and my app is now working correctly after suspend/resume on windows...—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.
|
@gdamore Any update on this issue? Fixed windows but broke linux. Any ways out of the predicament? Thanks Garrett! |
Please have a look at my "tty" branch. I think it works well on both Windows and Linux now. I haven't tested macOS as I don't have a macOS system handy at this precise instant. |
fixes #449 Lost keyboard input after suspend on Windows 10 PowerShell fixes #148 Make tcell usable with any io.Reader and io.Writer This introduces a new Tty interface so that applications can supply their own implementation. This should facilitate work for applications that wish to provide e.g. a webasm version of the terminal, or that need to use different kinds of file plumbing.
Tx Garrett! Sadly I don't think it's fixed ;(
Please reopen so we can track this down as my app is currently in no mans land ;( |
Please update to v2.3.1. If that still doesn't work, let me know. |
Thanks Garrett! I did try out v2.3.1 seems to have resolved the resume issue on OSX. Thank you for that! |
Does the _demos/mouse.go program work for you? -- if you press ctrl-z it should work, and exit should work, with normal keys working. I'm using Windows 10 with powershell myself. |
Make sure you aren't calling Fini(). Only Suspend(). Fini() will probably do things you don't want. |
Tx for the suggestions Garret! I think the problem lies Here Note: I could be totally off here as I am my phone as more mem than the crap windows box I am on ;( Less than ideal to debug in this env but changing the line above to read <-s.quit and having Fini close(s.quit) instead seems to fix particular issue. Does this make sense? |
I appears tcell v2.2.1 on Windows10 using powershell broke all keyboard inputs upon suspending and resuming an application. This behavior worked correctly of v.2.2.0.
The text was updated successfully, but these errors were encountered: