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

[textinput] forward search #10137

Closed
3 tasks
ferdymercury opened this issue Mar 16, 2022 · 1 comment · Fixed by #10208
Closed
3 tasks

[textinput] forward search #10137

ferdymercury opened this issue Mar 16, 2022 · 1 comment · Fixed by #10208

Comments

@ferdymercury
Copy link
Contributor

ferdymercury commented Mar 16, 2022

Is your feature request related to a problem? Please describe.

CTRL+R works great for backward searching a command. Sometimes you click twice and you lose the command you wanted. There is no way to go backwards.

Describe the solution you'd like

Bind CTRL+S (and/or Ctrl+Shift+R) for forward search.

As done usually in Linux: https://stackoverflow.com/a/791800/7471760

Reminder:

Additional context

https://root-forum.cern.ch/t/root-command-line-editing/13648/15
#10121

@ferdymercury
Copy link
Contributor Author

I did a first attempt but it's not working yet: #10208

ferdymercury added a commit to ferdymercury/root that referenced this issue Mar 29, 2022
ferdymercury added a commit to ferdymercury/root that referenced this issue Mar 30, 2022
Fixes root-project#10137

do not clear search if it was already in bkw or fwd
jalopezg-git pushed a commit to ferdymercury/root that referenced this issue Mar 31, 2022
jalopezg-git pushed a commit that referenced this issue Mar 31, 2022
Neel-Shah-29 pushed a commit to Neel-Shah-29/root-1 that referenced this issue Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants