You would have to re-implement the mapping from generic terminfo/termcap
strings to actual escape sequences including padding; reimplement some form
of curses etc. etc. Not that it couldn't be done, but I think you're getting
into more than you ever bargained for...
-Jaap-