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

Less don't respond to interrupt #56

Closed
Gurran opened this issue Apr 23, 2020 · 2 comments
Closed

Less don't respond to interrupt #56

Gurran opened this issue Apr 23, 2020 · 2 comments

Comments

@Gurran
Copy link

Gurran commented Apr 23, 2020

If I launch less with
less +F {somefile}

Less jumps to the bottom of the file and waits for interrupt.
When i press Ctrl+c nothing happends. Ctrl+d does nothing, neighter does q:

Key kombinations I've tried:
Ctrl+c
Ctrl+Shift+c
Ctrl+d
Ctrl+Shift+d
q
Q
f
Shift+F

Less version 551

@gwsw
Copy link
Owner

gwsw commented Apr 23, 2020

I cannot reproduce this on Linux, Windows/cygwin or MacOS. What type of operating system are you running on? If you run "stty -a", does it show that your intr character is ^C?

@Gurran
Copy link
Author

Gurran commented Apr 24, 2020

I just figured it out after pulling my hair out for two days.

My terminal swallowed the input. And I didn't realize this because I tried a different computer (a mac) and got the same behavior.

I now realize that Macs use Command + C. And that my terminal (Alacritty) swallowed the input.

Sorry for bothering you.

@Gurran Gurran closed this as completed Apr 24, 2020
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