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

[Bug] The cursor does not appear correctly #1

Open
Huy-Ngo opened this issue Feb 7, 2021 · 3 comments
Open

[Bug] The cursor does not appear correctly #1

Huy-Ngo opened this issue Feb 7, 2021 · 3 comments

Comments

@Huy-Ngo
Copy link

Huy-Ngo commented Feb 7, 2021

This in fact happened in the demo gif:

The cursor appears at the bottom while the top item is selected

My example:

The cursor appears on the incorrect row

The cursor apparently never appears in the first row. Notice that there appears to be an invisible cursor overlaying on the number 2 in my example.

Reproduction:

  • Create a new sticky note. The cursor appears at the last position of the previous list.
  • Create multiple to-do items. The cursor does not appears on the first item.
  • Move down: The cursor moves with the selector.
  • Move up: The cursor is below the selector.
  • Move back to the previous note: the cursor sticks with the last item even though the selector goes back to the first item.
@Huy-Ngo
Copy link
Author

Huy-Ngo commented Feb 7, 2021

Addition: deleting items makes the cursor sticks too.
image

@DevinR528
Copy link
Owner

Would removing it all together be an acceptable solution? I don't remember how easily controlling the cursor would be using termion (the backend tui uses to control the terminal) but I imagine it would be do-able. Again if you are interested I would love a PR otherwise I can take a look in the next few weeks!

@Huy-Ngo
Copy link
Author

Huy-Ngo commented Feb 8, 2021

Yup I think it's ok to remove the cursor, since the selector is already there.

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