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

Ctrl + C get eaten by getchar in options question. #3

Closed
jaanonim opened this issue Mar 19, 2024 · 5 comments
Closed

Ctrl + C get eaten by getchar in options question. #3

jaanonim opened this issue Mar 19, 2024 · 5 comments

Comments

@jaanonim
Copy link

Ctrl+C don't interrupt program when presed while inquirer waits for selection from options question.

@aelliixx
Copy link
Owner

Hey, thanks for the issue! Could you provide some details about what compiler, platform, and options you use before I try to reproduce it?

@jaanonim
Copy link
Author

Setup to reproduce:

  • OS: Linux
  • cmake: 3.28.3
  • make: 4.3
  1. Clone this repo.
  2. Build cmake --build ./cmake-build-debug --target cpp_inquirer -j 10
  3. Run ./cmake-build-debug/cpp_inquirer

On this steps presing Ctrl+C does nothing.
image
image

@aelliixx
Copy link
Owner

I'll have a look. Cheers!

@aelliixx
Copy link
Owner

Should be fixed in the latest push. I haven't tested it on Windows, so not sure if it works there.
Feel free to reopen the issue if the issue persists :)

@jaanonim
Copy link
Author

Thanks for so quick respones. It's working now (on Linux). <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants