Terminal: Erase line(s)

I’m building a console app that displays information in terminal from another program.
Is there a way to erase line(s)? To have a nice clean terminal.

Does ‘clear’ work?

This may help : http://www.termsys.demon.co.uk/vtansi.htm

Sorry for the late reply but when the light pulp goes off, you have to run with it.
Thank you Michel.