diff --git a/client/modules/IDE/pages/IDEView.jsx b/client/modules/IDE/pages/IDEView.jsx index cd5813d2..39809d4b 100644 --- a/client/modules/IDE/pages/IDEView.jsx +++ b/client/modules/IDE/pages/IDEView.jsx @@ -163,6 +163,13 @@ class IDEView extends React.Component { } else { this.props.collapseSidebar(); } + } else if (e.keyCode === 192 && ((e.metaKey && this.isMac) || (e.ctrlKey && !this.isMac))) { + e.preventDefault(); + if (this.props.ide.consoleIsExpanded) { + this.props.collapseConsole(); + } else { + this.props.expandConsole(); + } } }