Expose cursor position functions in the public API? #1593
Closed
daningalla
started this conversation in
General
Replies: 1 comment
-
Never mind - I totally missed it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Internally, Spectre uses control codes to position the cursor. Any reason these aren't in the public API or am I missing it somewhere?
I'm writing a document viewer and need to highlight search matches. I'd rather just paint the specific match text with a different style than re-render the entire page of content. This requires being able to position the cursor.
For now, I'm copying the control codes from
Spectre.Console.AnsiSequences
and writing them directly.Beta Was this translation helpful? Give feedback.
All reactions