diff --git a/spells/cantrips/fathom-cursor b/spells/cantrips/fathom-cursor index e7f60bf..d4b7656 100755 --- a/spells/cantrips/fathom-cursor +++ b/spells/cantrips/fathom-cursor @@ -17,7 +17,7 @@ fathom_cursor() { done # Get the position of the cursor - position=$(IFS=';' read -sdR -p $'\E[6n' ROW COL; printf "%s;%s" "${ROW#*[}" "$COL") + position=$(IFS=';' printf "\033[6n" && IFS=';' read -r ROW COL; printf "%s;%s" "${ROW#*[}" "$COL") if [ $x = true ] && [ $y = true ]; then if [ $verbose = true ]; then