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

Bugfix history navigation after adding duplicate lines #15

Merged
merged 1 commit into from
Apr 7, 2021

Conversation

tlk
Copy link
Contributor

@tlk tlk commented Mar 28, 2021

This fixes a small bug caused by the history index not always being reset.

So a user could go through a session like this:

> 1    # user typed 1, then enter
> 2    # user typed 2, then enter
> 2    # user pressed key-up, then enter
> 1    # user pressed key-up again and expected 2 but this time the history index was off

@andybest
Copy link
Owner

andybest commented Apr 7, 2021

Awesome, thanks :)

@andybest andybest merged commit b16fc37 into andybest:master Apr 7, 2021
@tlk
Copy link
Contributor Author

tlk commented Apr 7, 2021

Thank you very much!

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

Successfully merging this pull request may close these issues.

None yet

2 participants