[ruby/reline] Implement the redo command