From 49a2c8c30c31a4fa998f4757937cfb72c06d458b 2012-06-26 21:41:32 From: MinRK Date: 2012-06-26 21:41:32 Subject: [PATCH] double auto-scroll threshold to 100 lines it is more important that we not be surprising or annoying than we hide moderately long output. --- diff --git a/IPython/frontend/html/notebook/static/js/outputarea.js b/IPython/frontend/html/notebook/static/js/outputarea.js index ed1a7c5..d79e77b 100644 --- a/IPython/frontend/html/notebook/static/js/outputarea.js +++ b/IPython/frontend/html/notebook/static/js/outputarea.js @@ -62,7 +62,7 @@ var IPython = (function (IPython) { OutputArea.prototype._should_scroll = function (lines) { if (!lines) { - lines = 50; + lines = 100; } // line-height from http://stackoverflow.com/questions/1185151 var fontSize = this.element.css('font-size');