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] Help text can be navigated and makes closing it with ? output an error #131

Open
adamency opened this issue Feb 5, 2024 · 0 comments

Comments

@adamency
Copy link

adamency commented Feb 5, 2024

When printing help text with ? from within Mundo window, we can now navigate to the lines of the help at the top with j and k and mundo will think these are lines of undo nodes, printing en empty diff and making ? (in order to close the help) fail with an error if the cursor is still on the help text.

I believe there should be a mechanism to block navigating to these lines, at least with mundo's own mappings j, k and gg.

Maybe simply store the line number of the top node and limit gg and j to this line.

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

1 participant