Get cursor position

I need to get the position of the cursor terminal and then install it, I already know how to install it using "move", what in ncurses, any ideas?

+5
source share
1 answer

Have you tried getyx()?

Or, if you prefer the functions of obsolete curses, getcurx () and getcury () ?

+6
source

All Articles