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

[Bug] Occasional input errors when running goto within Windows cmd.exe #55

Open
grafviktor opened this issue Feb 11, 2024 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@grafviktor
Copy link
Owner

grafviktor commented Feb 11, 2024

Problem

On a very rare ocassion if start goto in cmd.exe and connect to a remote machine it may omit first keyboard symbol when typing ssh password, so you will need to type your password again. To reproduce:

  • Run cmd.exe;
  • Start goto and make sure you have at least 2 hosts;
  • Press up and down buttons;
  • Press Enter to connect to a selected host.

When you type your password (for a ssh key or for the host iteself) first time it won't be accepted.

Workaround

Run gg using powershell until this is resolved:

  • Right mouse on gg.exe, select "Send to Desktop" in order to create a shortcut;
  • Open the shortcut properties and update the target field: powershell.exe Start-Process 'C:\your_path_to\gg.exe' (make sure you use single quotes).
@grafviktor grafviktor added the bug Something isn't working label Feb 11, 2024
@grafviktor grafviktor self-assigned this Feb 11, 2024
@grafviktor
Copy link
Owner Author

grafviktor commented Feb 11, 2024

Filed a bug in bubbletea library project. This library is used to start ssh process in goto.

@grafviktor
Copy link
Owner Author

grafviktor commented Mar 6, 2024

I suspect that windows antivirus could be a contributing factor into this problem. Unfortunately this issue is very sporadic, which makes it hard to allocate. Clearly this has something to do with the parallel goroutine which bubbletea library runs to to poll the input stream.

@grafviktor grafviktor changed the title Occasional input errors when running goto within Windows cmd.exe [Bug] Occasional input errors when running goto within Windows cmd.exe Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant