|
|
@ -17,7 +17,7 @@ fathom_cursor() { |
|
|
|
done |
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
# Get the position of the cursor |
|
|
|
# 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 [ $x = true ] && [ $y = true ]; then |
|
|
|
if [ $verbose = true ]; then |
|
|
|
if [ $verbose = true ]; then |
|
|
|