Fix autosave for command line editor window.