[Beginner question] Is there a way to control the position of the caret/cursor? #1531
Replies: 1 comment 1 reply
-
|
You can with v2: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use the real caret instead of the bubbles/cursor, which I've tried to accomplish using the termenv package with no success. The cursor does get moved but instantly returns to the bottom left of the console window. I've taken a look at the source code of bubbletea and noticed that it puts the cursor there on purpose but I still don't know how I could get around that.
Note that in cases where the View method gets called but doesn't re-render anything, the cursor actually moves and behaves how it should, but that is pretty much an edge case.
Beta Was this translation helpful? Give feedback.
All reactions