File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 11
22import { Terminal } from 'xterm' ;
33import { FitAddon } from 'xterm-addon-fit' ;
4+ import { WebLinksAddon } from 'xterm-addon-web-links' ;
45
56export class GitSyncView {
67 constructor ( termSelector , progressSelector , termToggleSelector ) {
@@ -10,6 +11,7 @@ export class GitSyncView{
1011 } ) ;
1112 this . fit = new FitAddon ( ) ;
1213 this . term . loadAddon ( this . fit ) ;
14+ this . term . loadAddon ( new WebLinksAddon ( ) ) ;
1315
1416 this . visible = false ;
1517 this . progress = document . querySelector ( progressSelector ) ;
Original file line number Diff line number Diff line change 11{
22 "description" : " Dependencies to build nbgitpuller/static/dist/bundle.js from nbgitpuller/static/js/index.js with webpack." ,
33 "devDependencies" : {
4+ "css-loader" : " ^6.2.0" ,
5+ "style-loader" : " ^3.2.1" ,
46 "webpack" : " ^5.45.1" ,
5- "webpack-cli" : " ^4.7.2" ,
6- "xterm" : " ^4.13.0" ,
7+ "webpack-cli" : " ^4.7.2"
8+ },
9+ "dependencies" : {
10+ "xterm" : " ^4.18.0" ,
711 "xterm-addon-fit" : " ^0.5.0" ,
8- "css-loader" : " ^6.2.0" ,
9- "style-loader" : " ^3.2.1"
12+ "xterm-addon-web-links" : " ^0.5.1"
1013 },
1114 "scripts" : {
1215 "webpack" : " webpack" ,
You can’t perform that action at this time.
0 commit comments