Closed nkh closed 2 years ago
echo -e "\e[H" ; command=$(rlwrap -p'0;33' -S 'ftl > ...)
I put the cursor at the top left of the screen but the prompt appears in the line under it, is there any way to fix this?
Try:
echo -ne "\e[H"; # etc
Without the -n echo outputs a trailing newline.
-n
echo
I put the cursor at the top left of the screen but the prompt appears in the line under it, is there any way to fix this?