changed ESC to trigger collapsing of the pager in notebook

This commit is contained in:
Erik Tollerud 2013-04-29 19:13:13 -04:00
parent aafec25d34
commit 13b2cadd8b

View File

@ -130,6 +130,7 @@ var IPython = (function (IPython) {
} else if (event.which === key.ESC) {
// Intercept escape at highest level to avoid closing
// websocket connection with firefox
that.element.trigger('collapse_pager');
event.preventDefault();
} else if (event.which === key.SHIFT) {
// ignore shift keydown