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

Url autocompletion does not reset #1654

Closed
MarcoPolo-PasTonMolo opened this issue Mar 24, 2022 · 0 comments · Fixed by #1655
Closed

Url autocompletion does not reset #1654

MarcoPolo-PasTonMolo opened this issue Mar 24, 2022 · 0 comments · Fixed by #1655
Assignees
Milestone

Comments

@MarcoPolo-PasTonMolo
Copy link
Collaborator

When I use /url open or /url save and get a url via autocompletion, when I try to use the same command autocompletion continues from last opened url instead of newest url in window.

Expected Behavior

On using /url open a second time autocompletion should start from newest url in window

Current Behavior

On using /url open a second time autocompletion starts from previously opened url.

Possible Solution

Resetting url_ac when /url open gets used or when buffer changes or when readline is cleared

Steps to Reproduce (for bugs)

  1. /url open
  2. /url open
jubalh added a commit that referenced this issue Mar 24, 2022
I guess we should reset the position after we ran `/url open|save`.
So that next time `/url open <tab>` starts with the latest entry.

Fix #1654
@jubalh jubalh self-assigned this Mar 24, 2022
@jubalh jubalh added this to the 0.12.0 milestone Mar 24, 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