Hi, I expect there is a command to clean the screen during an IRB
session (in
fact you can press Ctrl+L to do it, but I’m lookinf for a Ruby command).
What
is that command?
thanks a lot.
Hi, I expect there is a command to clean the screen during an IRB
session (in
fact you can press Ctrl+L to do it, but I’m lookinf for a Ruby command).
What
is that command?
thanks a lot.
El Lunes, 1 de Septiembre de 2008, Iñaki Baz C. escribió:
Hi, I expect there is a command to clean the screen during an IRB session
(in fact you can press Ctrl+L to do it, but I’m lookinf for a Ruby
command). What is that command?
Well, after looking I’ve found that there is not such command, but some
workarounds:
print “\e[2J\e[f”
or:
system(“clear”)
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs