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

Commands entered via command history (cmd-history-prev) are sometimes not inserted properly into the history. #1003

Closed
camoz opened this issue Nov 11, 2022 · 2 comments

Comments

@camoz
Copy link

camoz commented Nov 11, 2022

Steps to reproduce

  • Start lf
  • Run :echo hello
  • Enter : followed by <c-p> (:echo hello appears) and change hello into world, then press enter
  • Enter : followed by <c-p>

Expected behavior

  • :echo world appears (i.e. the previously run command)

Actual behavior

  • :echo hello appears (and btw after pressing <c-n>, :echo world appears)

Additional info

  • When omitting the : before pressing <c-p>, the expected behavior occurs.
@p-ouellette
Copy link
Contributor

This was fixed in #953.

@camoz
Copy link
Author

camoz commented Nov 11, 2022

Ah thanks, didn't browse the PRs, only issues.

@camoz camoz closed this as completed Nov 11, 2022
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