BUGFIX: cache previous command such that scale/terminal input while
looking at a confirmation screen doesn't overwrite the command that's
being confirmed