-
-
Notifications
You must be signed in to change notification settings - Fork 536
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
Cursor is hidden and echo is off after electron-forge start
#2055
Comments
I can't reproduce this with Ubuntu 18.04 (amd64) and your repro steps on either gnome-terminal or wezterm. Which terminal are you using? |
Also can you reproduce this with https://github.com/electron/electron-quick-start ? |
alacritty, though I can also reproduce in gnome-terminal. on further investigation, turning off my fancy prompt helps, though it's still behaving weirdly – once the app exits, I can type and see the characters echo back, but pressing e.g. ctrl-c doesn't do anything until I've hit enter at least once. electron-quick-start behaves fine. |
Yeah this is definitely some weird interaction between your fancy prompt and a library used by Forge. I just tested with alacritty (and the default-ish starship prompt) and it still works fine for me. Since running with |
for my own benefit as much as anything else: I've now tested with starship (cool prompt, thanks!), and even with plain dash with no prompt at all, and it still misbehaves. running out of interest @malept what node version were you testing with? (v14.15.1 here) |
I'm running Node.js 10.23.0. I just installed and used v14.15.1 via nodeenv and I still can't reproduce it. |
aha, I don't have the issue on node 10.23.0! I'll try and narrow that down tomorrow (for my own reference: broken on 12.16.1). thanks! |
I am still seeing this (and complete disabling of ctrl-c afterwards -
I'm seeing this with zsh and some terminals (like Hyper.is but not Terminal.app), so my guess is that some terminals do some workarounds and fixes for such issues, however that doesn't mean not cleaning up properly isn't an issue. I think this issue should be re-opened. |
Preflight Checklist
Issue Details
Expected Behavior
When I start and then quit the electron application (by closing the window), electron-forge should exit and I should get my terminal back.
Actual Behavior
If I quit the electron app, electron-forge terminates, but it turns off echo and hides the cursor. If I ctrl-c electron-forge instead of closing the window, this doesn't happen (I get the cursor back like normal).
To Reproduce
Additional Information
Running with
DEBUG=*,electron-forge
mitigates the issue.The text was updated successfully, but these errors were encountered: