Clear command line instead of whole screen after undo