jeudi 22 janvier 2015

Escape sequence in terminal or iTerm to jump to absolute column?


Is there an escape sequence which I can use to jump to an absolute column in OS X Yosemite Terminal or iTerm?


In other words:



echo 12345678901234567890
echo \StartAtColumn10 A10 \StartAtColumn2 B2


Would produce the following output:



12345678901234567890
B2 A10


I want to send this code from R to format progress output.





Aucun commentaire:

Enregistrer un commentaire