Fix shortcut in console mode