debian-mirror-gitlab/app/assets/javascripts/terminal/index.js
2018-03-27 19:54:05 +05:30

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' });