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

Enhancement: option for inhibit "done (press RETURN)" #462

Closed
telychko opened this issue Dec 7, 2023 · 4 comments
Closed

Enhancement: option for inhibit "done (press RETURN)" #462

telychko opened this issue Dec 7, 2023 · 4 comments

Comments

@telychko
Copy link

telychko commented Dec 7, 2023

$ less -V
less 643 (PCRE2 regular expressions)
Copyright (C) 1984-2023 Mark Nudelman

  • Manual was read
  • Taken a look into code

Would be great if less could have an option here to inhibit done... messages.

Use case: key binding for shell routines.

@gwsw
Copy link
Owner

gwsw commented Dec 8, 2023

In 48036b4 you can begin a shell command with ctrl-P to suppress the "done" message.

@telychko
Copy link
Author

Thank you, I'm appreciated for your great work

@elig0n
Copy link

elig0n commented Jun 11, 2024

@gwsw I already have Ctrl-P bound to 'up' under #line-edit in my lesskey file, is there an alternative approach besides for me to disable it ?

@gwsw
Copy link
Owner

gwsw commented Jun 12, 2024

I don't think there's a way to both have ^P be a user-defined command and also use it as the message suppression character. You will probably need to remove the ^P command from your lesskey file if you want to use ^P to suppress the done message.

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

No branches or pull requests

3 participants