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.12k stars 140 forks source link

Generalize cursor movement #187

Closed romge closed 3 years ago

romge commented 3 years ago

Generalizes cursor movement such as cursorUp, cursorDown, ... to negative values, which move the cursor in the opposite direction.

Also adds a new method cursorMove that moves the cursor in horizontal and vertical direction at once.