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

Support for placing and showing the cursor #51

Open
nojb opened this issue Jun 24, 2024 · 1 comment
Open

Support for placing and showing the cursor #51

nojb opened this issue Jun 24, 2024 · 1 comment

Comments

@nojb
Copy link

nojb commented Jun 24, 2024

Is it possible to specify where the terminal cursor should be placed, as well as showing it? I tried using Notty.show_cursor but didn't seem to work.

What I had in mind is a special combinator cursor : A.attr -> I.image that would have size 1x1 but that would have a special behaviour when overlaid over an image already containing cursor: any underlying cursor would be removed.

@nojb
Copy link
Author

nojb commented Jun 24, 2024

(This is useful for terminal UIs such as text fields, etc.)

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