in reply to updating something in the same position
The crude solution is to just use an ASCII carriage return ("\cM") then print over the previous output (you want to use a fixed width format with leading or trailing spaces as appropriate so that the prior output is "overwritten" each pass). Fancier solutions would use Curses or call out so something like dialog.
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: updating something in the same position
by thornton102 (Novice) on Aug 03, 2010 at 14:38 UTC |