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.
···
--
Iñaki Baz Castillo
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.
--
Iñaki Baz Castillo
Well, after looking I've found that there is not such command, but some
workarounds:
print "\e[2J\e[f"
or:
system("clear")
El Lunes, 1 de Septiembre de 2008, Iñaki Baz Castillo 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?
--
Iñaki Baz Castillo