From: Xavier Noria Date: 2007-04-26T16:19:06+09:00 Subject: Re: clear screen On Apr 26, 2007, at 8:25 AM, Christian wrote: > Is there a way to clear the terminal screen by using Ruby directly? > Instead of using system("clear"). Nothing builtin. A lighter approach is to print an ANSI escape sequence if your terminal understands it: module Screen def self.clear print "\e[2J\e[f" end end -- fxn