func Headline(s string) { ansiterm.SavePosn() ansiterm.MoveToRC(1, 1) ansiterm.ClearLine() fmt.Printf("%s", s) ansiterm.RestorePosn() }
func StatusUpdate(s string) { const ( row = 12 col = 4 fieldlen = 10 ) ansiterm.SavePosn() ansiterm.MoveToRC(row, col) ansiterm.Erase(fieldlen) fmt.Printf("%s", s) ansiterm.RestorePosn() }