Ctrl-l
doesn't seem to work, neither does clear
.
The only way I've found is to run system('clear')
which I find clunky.
Is there a way to get the same Ctrl-l
functionality in the terminal inside the rails console?
Edit:
I put the following in my ~/.pryrc
:
def c
system 'clear'
end
Which is working.
But why does Ctrl-l
work on Rails 4 but not Rails 5?