terminal
November 23, 2021
Useful terminal sequences
"\033[H"
Move the cursor to the upper-left corner of the screen.
"\033[r;cH"
Move the cursor to row r, column c. Note that both the rows and columns are indexed starting at 1.
"\033[K"
Delete everything from the cursor to the end of the line.
"\033[0m"
Reset special formatting (such as colour).