Switch to xterm for the terminal emulator

pull/1591/head
Steven Silvester 10 years ago
parent 53ab302a98
commit d223e96fe1

@ -15,7 +15,6 @@
"MathJax": "components/MathJax#~2.6",
"moment": "~2.8.4",
"requirejs": "~2.1",
"term.js": "chjj/term.js#~0.0.7",
"text-encoding": "~0.1",
"underscore": "components/underscore#~1.5",
"jquery-typeahead": "~2.0.0"

@ -1,8 +1,8 @@
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
__webpack_public_path__ = window['staticURL'] + 'terminal/js/built/';
require('xterm/src/xterm.css');
requirejs(['termjs'], function(termjs) {
require([
'base/js/utils',
'base/js/page',
@ -67,4 +67,3 @@ require([
window.terminal = terminal;
});
});

@ -1,4 +1,4 @@
define ([], function() {
define (["xterm"], function(Terminal) {
"use strict";
function make_terminal(element, size, ws_url) {
var ws = new WebSocket(ws_url);

@ -40,7 +40,6 @@
backbone : 'components/backbone/backbone-min',
moment: 'components/moment/moment',
codemirror: 'components/codemirror',
termjs: 'components/term.js/src/term',
// Define aliases for requirejs webpack imports
notebook: 'built/index',

@ -36,6 +36,7 @@
"dependencies": {
"moment": "^2.8.4",
"preact": "^4.5.1",
"preact-compat": "^1.7.0"
"preact-compat": "^1.7.0",
"xterm": "^0.33.0"
}
}

@ -18,6 +18,7 @@ var commonConfig = {
"node_modules" /* npm */
]
},
bail: true,
module: {
loaders: [
{ test: /\.js$/, exclude: /node_modules|\/notebook\/static\/component/, loader: "babel-loader"},

Loading…
Cancel
Save