Pressing Alt-Enter now uses accept-and-infer-history, with the addition of using the last executed command for inferring if pressed while the command line is empty