Command line Ctrl+E history navigation, focus management