Hi all,
i'm writing a program and i would like to change predefined lines in the
printed text in the terminal, without changing the other text...
For example:
Code:
+----------------------------------------------------+
| Connected to 192.168.9.1 |
| |
| |
| |
| |
| TEXT |
| Status message |
| |
+----------------------------------------------------+
Given this picture, i would like to change "TEXT" & "Status message", without changing the position of "Connected to ...".
Is the only way to do this messing with printf("\b"), or are there other
possibilities?
For example, how is the progress bar in ETA printed in the program 'wget' ?
Thanks in advance!
Sam