I want to do something like this:
user@myserver$echo -en "\rSome text to overwrite same line command is on"
The problem is I end up with this:
Some text to overwrite same line command is onuser@myserver$
If I do echo -e only then I get this:
Some text to overwrite same line command is on
user@myserver$
Which is okay except it causes the console to scroll. I don't want it to scroll because my console window with tmux is only one line high. I've tried padding the right hand side of the string with spaces but that doesn't work correctly.