gitlab-org--gitlab-foss/app/assets/javascripts/terminal/index.js
2018-03-02 20:04:55 +01:00

9 lines
258 B
JavaScript

import 'vendor/xterm/encoding-indexes';
import 'vendor/xterm/encoding';
import Terminal from 'vendor/xterm/xterm';
import 'vendor/xterm/fit';
import './terminal';
window.Terminal = Terminal;
export default () => new gl.Terminal({ selector: '#terminal' });