diff --git a/spells/cantrips/fathom-cursor b/spells/cantrips/fathom-cursor index a94726b..b83048f 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=$(stty -echo; printf "\033[6n"; IFS=';' read -r ROW COL; stty echo; printf "%s;%s" "${ROW#*[}" "${COL}") + position=$(stty -echo; printf "\033[6n"; (trap 'exit 142' ALRM; sh -c 'sleep 0.1; kill -ALRM $$' &) IFS=';' read -r ROW COL; stty echo; printf "%s;%s" "${ROW#*[}" "${COL}") if [ $x = true ] && [ $y = true ]; then if [ $verbose = true ]; then