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

Up/Down keys don't work to "Search previous command history" (besides Ctrl-p/Ctrl-n) #3874

Closed
franciscolourenco opened this issue Aug 2, 2013 · 3 comments
Milestone

Comments

@franciscolourenco
Copy link

Both Ctrl-p/Ctrl-n and Up/Down work when nothing is typed.
However when something is typed in, only Ctrl-p/Ctrl-n work to search through history, while Up/Down does nothing.

This issue is for the binding of the Up/Down keys to the "Search previous command history" action, when things are typed.

Thanks

@minrk
Copy link
Member

minrk commented Aug 2, 2013

Up/Down are bound to history-search-backward/forward, so they scroll through your history based on shared prefix.

@franciscolourenco
Copy link
Author

Yes, you are right, this is already working as expected.
Sorry for the mistake.

@minrk
Copy link
Member

minrk commented Aug 2, 2013

No problem. All of this functionality is provided by readline, not IPython, so it should behave in a similar manner to many other shell programs.

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