In the terminal, if I output a one-accurate progress indicator of some kind, in place of \r will do the trick:
while (1) { echo "progress indication\r"; }
However, I have an indicator of progress, which really should be multi-line. Since \r only returns to the beginning of the current line, I want something that can move across multiple lines. Is there a control character / function that allows me to indent lines in the terminal?
Edit: in case I wasn’t completely clear, I want to have something roughly the opposite of \v , a vertical tab that moves the terminal cursor down the line.
source share