Reputation:
i need to get the terminal cursor position then set it, i already know how to set it using "move", that's in ncurses, any ideas?
Upvotes: 6
Views: 10911
Reputation: 86333
Have you tried getyx()
?
Or, if you prefer legacy curses functions, getcurx() and getcury()?
Upvotes: 6