fusesource / jansi

Jansi is a small java library that allows you to use ANSI escape sequences to format your console output which works even on windows.
http://fusesource.github.io/jansi/
Apache License 2.0
1.11k stars 140 forks source link

How can I get the current cursor position? #167

Closed GitAntoinee closed 4 years ago

GitAntoinee commented 4 years ago

Hello, I know it is possible to set the cursor position, but how can I get the cursor position instead of using cursorUp or cursorDown

GitAntoinee commented 4 years ago

I do not need to get the cursor position: I can use saveCursorPosition, and restoreCursorPosition