-
-
Notifications
You must be signed in to change notification settings - Fork 213
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 terminal breaks on ctrl+C
#1279
Comments
Here's the loom video from my window's 10 system. I don't think so it seems to be the case with readline (still skeptical tho). |
@nishu-murmu So with my readline change, you can press |
@aklinker1 Windows is more problematic. Maybe we need to handle that exit code 130 thing? I saw some similar code in |
Can you share where they are doing that? |
Here, But they seem to be using raw input mode. |
Yeah, we specifically chose not to use raw input mode because then you have to manually handle all keyboard shortcuts for interrupting the process. You were the one who made the initial PR weren't you? So you were a part of that conversation |
Yeah I know, I'm not suggesting raw input mode. I'm pitching maybe we can do something for windows specifically. |
Oh I see, sorry yes, that makes sense. Though it means we have to manually handle an edge case, which I wanted to avoid :/ @nishu-murmu Did you ever explore older versions of WXT and find the version that introduced this behavior? I don't think I ever heard confirmation from anyone that v0.19.19 actually introduced this. |
This is powershell terminal https://www.loom.com/share/f914b2f34f994551b630b231708be473?sid=f9191019-8916-4064-b9e9-72fbd2df767b Here is the tested video for version 0.19.18 |
Does the "-> wxt-demo" usually show up when asking to confirm stopping the process? I haven't used powershell in a while but previously, that prompt would show on its own line. |
Yes, |
Doesn't look like its work to me. When you type "Y", shouldn't it stop the process and give you a new blank line to type on? I understand that pressing Ctrl+C again makes it work, but you shouldn't have to press it again after typing "Y" |
Describe the bug
https://discord.com/channels/1212416027611365476/1317009958113644554
Reproduction
I don't have Windows, see discord.
Steps to reproduce
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: