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

Remove usage of save and restore cursor #156

Merged
merged 1 commit into from
Sep 15, 2016
Merged

Remove usage of save and restore cursor #156

merged 1 commit into from
Sep 15, 2016

Conversation

mptre
Copy link
Owner

@mptre mptre commented Sep 1, 2016

Usage of cursor save and restore capabilities is non-obvious. Moving the
cursor the appropriate number of lines/columns is easier to follow.

While at it, make the query cursor movement a single operation as
opposed of the current implementation which is linear with the number of
characters in the query.

I would appreciate if others could test this change in order to not
introduce any regression.

Usage of cursor save and restore capabilities is non-obvious. Moving the
cursor the appropriate number of lines/columns is easier to follow.

While at it, make the query cursor movement a single operation as
opposed of the current implementation which is linear with the number of
characters in the query.
@calleluks
Copy link
Collaborator

Hey @mptre, sorry for the late feedback. The code looks great and I agree that it is easier to follow. Thanks for working on this! Pick runs without regressions on my machine.

@teoljungberg Would you mind testing it in your tmux setup that had issues before?

@teoljungberg
Copy link
Contributor

@calleerlandsson Looks good after testing this out locally.

@mptre
Copy link
Owner Author

mptre commented Sep 15, 2016

Thanks for testing, I'm merging now. While at it, time for another
release?

@mptre mptre merged commit 6058de8 into master Sep 15, 2016
@mptre mptre deleted the draw branch September 15, 2016 08:07
@calleluks
Copy link
Collaborator

Thanks @mptre! Yes, I think it's time for a release. I'll merge #158 and release.

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.

3 participants