Command line interaction improved (Ctrl+Enter, Ctrl+Shift+Enter, Return, Esc etc.)