notty icon indicating copy to clipboard operation
notty copied to clipboard

Support for placing and showing the cursor

Open nojb opened this issue 1 year ago • 1 comments

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 avatar Jun 24 '24 07:06 nojb

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

nojb avatar Jun 24 '24 07:06 nojb