diff --git a/jupyter_notebook/static/terminal/js/main.js b/jupyter_notebook/static/terminal/js/main.js index 3358882fc..84ec2f599 100644 --- a/jupyter_notebook/static/terminal/js/main.js +++ b/jupyter_notebook/static/terminal/js/main.js @@ -60,4 +60,7 @@ require([ $(window).height(), $(window).width()])); }; + // Expose terminal for fiddling with in the browser + window.terminal = terminal; + });