shell mode now has no undo