On PCs, learning the cursor position is easy. On other terminals, the ability is a rare commodity. (Relatively few implement the VT100 Report Cursor Position DSR response --though those that do tend to be more commonly used.) Use of a library like NCurses is necessary in that case.
Just placing the cursor elsewhere on the screen is an almost universal capability.