Try $curwin->Cursor(): "With no arguments, returns a (row, col) array for the current cursor position in the Window."