Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ANSI cursor movement #2

Open
PyDever opened this issue Apr 29, 2018 · 2 comments
Open

Add ANSI cursor movement #2

PyDever opened this issue Apr 29, 2018 · 2 comments

Comments

@PyDever
Copy link
Owner

PyDever commented Apr 29, 2018

instead of using an array to store the position of the cursor

term.move([2,4,2])

use ansi codes

sys.stderr.write("\1xb[2:3B\1xb")
@PyDever
Copy link
Owner Author

PyDever commented Apr 29, 2018

well correction, use the same method

@PyDever
Copy link
Owner Author

PyDever commented Apr 29, 2018

but make it a wrapper to the ANSI instead of printing blanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant