diff --git a/package.json b/package.json index 7e9bea82..a4b329f2 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ "c9.ide.help.support": "#60e88f5680", "c9.ide.imgeditor": "#08bbc53578", "c9.ide.immediate": "#6845a93705", - "c9.ide.installer": "#467006e798", + "c9.ide.installer": "#6a565f792c", "c9.ide.mount": "#cb45b621f1", "c9.ide.navigate": "#64156c7f4a", "c9.ide.newresource": "#f1f0624768", diff --git a/plugins/c9.ide.ui/widgets.terminal.js b/plugins/c9.ide.ui/widgets.terminal.js index 4c7b1c2e..0682a932 100644 --- a/plugins/c9.ide.ui/widgets.terminal.js +++ b/plugins/c9.ide.ui/widgets.terminal.js @@ -368,6 +368,13 @@ define(function(require, exports, module) { write: function(data){ return terminal.write(data); }, + /** + * + */ + clear: function(data){ + terminal.ybase = 0; + terminal.lines = terminal.lines.slice(-(terminal.ybase + terminal.rows)); + }, /** * */