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

Keyboard interrupt for infinite loops #134

Open
olkku45 opened this issue Mar 3, 2025 · 3 comments
Open

Keyboard interrupt for infinite loops #134

olkku45 opened this issue Mar 3, 2025 · 3 comments
Labels
invalid This doesn't seem right

Comments

@olkku45
Copy link

olkku45 commented Mar 3, 2025

I'd like keyboard interrupt usability for e.g infinite loops, and I tried the proposed solution in #39 (comment), but it did nothing for me.
Video I tried with the keymap command when the while loop was running, but it just copied all of the terminal's contents, and didn't stop the loop.

2025-03-03.18-52-18.mp4
@olkku45
Copy link
Author

olkku45 commented Mar 3, 2025

Basically, why I'd want a VSCode style keyboard interrupt would be for looking at what the infinite loop has printed in the terminal, for example.

@CRAG666
Copy link
Owner

CRAG666 commented Mar 30, 2025

Insert mode and C-c

@CRAG666
Copy link
Owner

CRAG666 commented Mar 30, 2025

I don't want to sound rude, but do you know how vim works?. In any of the buffers enter insert mode and then press and that's it.

@CRAG666 CRAG666 added the invalid This doesn't seem right label Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants