deicidus 2 years ago
parent
commit
1a8d7d4fa8
  1. 3
      spells/cantrips/fathom-cursor

3
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

Loading…
Cancel
Save