user502230
user502230

Reputation:

get terminal cursor position

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

Answers (1)

thkala
thkala

Reputation: 86333

Have you tried getyx()?

Or, if you prefer legacy curses functions, getcurx() and getcury()?

Upvotes: 6

Related Questions