Skip to content

Commit 0334417

Browse files
committed
feat: terminal frontend
1 parent 3480319 commit 0334417

File tree

19 files changed

+1549
-54
lines changed

19 files changed

+1549
-54
lines changed

package-lock.json

Lines changed: 73 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"cordova-plugin-websocket": {},
3838
"cordova-plugin-buildinfo": {},
3939
"cordova-plugin-system": {},
40-
"com.foxdebug.acode.rk.exec.terminal": {}
40+
"com.foxdebug.acode.rk.exec.terminal": {},
41+
"com.foxdebug.acode.rk.exec.proot": {}
4142
},
4243
"platforms": [
4344
"android"
@@ -63,6 +64,7 @@
6364
"@types/url-parse": "^1.4.11",
6465
"autoprefixer": "^10.4.19",
6566
"babel-loader": "^9.1.3",
67+
"com.foxdebug.acode.rk.exec.proot": "file:src/plugins/proot",
6668
"com.foxdebug.acode.rk.exec.terminal": "file:src/plugins/terminal",
6769
"cordova-android": "13.0.0",
6870
"cordova-clipboard": "^1.3.0",
@@ -95,6 +97,13 @@
9597
"dependencies": {
9698
"@deadlyjack/ajax": "^1.2.6",
9799
"@ungap/custom-elements": "^1.3.0",
100+
"@xterm/addon-attach": "^0.11.0",
101+
"@xterm/addon-fit": "^0.10.0",
102+
"@xterm/addon-search": "^0.15.0",
103+
"@xterm/addon-unicode11": "^0.8.0",
104+
"@xterm/addon-web-links": "^0.11.0",
105+
"@xterm/addon-webgl": "^0.18.0",
106+
"@xterm/xterm": "^5.5.0",
98107
"autosize": "^6.0.1",
99108
"cordova": "12.0.0",
100109
"core-js": "^3.37.1",

src/components/terminal/index.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/**
2+
* Terminal Components Export
3+
*/
4+
5+
import TerminalComponent from "./terminal";
6+
import { DEFAULT_TERMINAL_SETTINGS } from "./terminalDefaults";
7+
import TerminalManager from "./terminalManager";
8+
import TerminalThemeManager from "./terminalThemeManager";
9+
10+
export {
11+
TerminalComponent,
12+
TerminalManager,
13+
TerminalThemeManager,
14+
DEFAULT_TERMINAL_SETTINGS,
15+
};
16+
17+
export default {
18+
TerminalComponent,
19+
TerminalManager,
20+
TerminalThemeManager,
21+
DEFAULT_TERMINAL_SETTINGS,
22+
};

0 commit comments

Comments
 (0)