diff --git a/spells/cantrips/fathom-cursor b/spells/cantrips/fathom-cursor index 506827f..805310a 100755 --- a/spells/cantrips/fathom-cursor +++ b/spells/cantrips/fathom-cursor @@ -17,11 +17,13 @@ fathom_cursor() { done # Get the position of the cursor + stty -echo printf "\033[6n" while IFS=';' read -r -d R ROW COL; do break done - position=$(printf "%s;%s" "${ROW#*[}" "${COL%%R*}") + stty echo + position=$(printf "%s;%s" "${COL%%R*}" "${ROW#*[}") if [ $x = true ] && [ $y = true ]; then if [ $verbose = true ]; then