diff --git a/spells/cantrips/fathom-cursor b/spells/cantrips/fathom-cursor index 0ca984c..f6f7494 100755 --- a/spells/cantrips/fathom-cursor +++ b/spells/cantrips/fathom-cursor @@ -18,9 +18,10 @@ fathom_cursor() { # Get the position of the cursor stty -echo printf "\033[6n" - IFS=';' read -r -d R ROW COL + oldIFS="$IFS"; IFS=';' read -r ROW COL stty echo position=$(printf "%s;%s" "${ROW#*[}" "${COL%%R*}") + IFS="$oldIFS" if $x && $y; then if $verbose; then