File tree 2 files changed +2
-61
lines changed
2 files changed +2
-61
lines changed Original file line number Diff line number Diff line change 1
- // Terminal 相关
1
+ //TODO 后续移除
2
+
2
3
import xtermTheme from 'xterm-theme' ;
3
4
import { Terminal } from '@xterm/xterm' ;
4
5
import { FitAddon } from '@xterm/addon-fit' ;
5
- // import { WebglAddon } from '@xterm/addon-webgl';
6
6
import { ISearchOptions , SearchAddon } from '@xterm/addon-search' ;
7
7
import { Sentry } from 'nora-zmodemjs/src/zmodem_browser' ;
8
8
import { defaultTheme } from '@/config' ;
9
-
10
- // hook
11
9
import { watch , watchEffect } from 'vue' ;
12
10
import { createDiscreteApi } from 'naive-ui' ;
13
11
import { useWebSocket } from '@vueuse/core' ;
14
12
import { useSentry } from '@/hooks/useZsentry.ts' ;
15
-
16
- // store
17
13
import { storeToRefs } from 'pinia' ;
18
14
import { useTerminalStore } from '@/store/modules/terminal.ts' ;
19
15
import { useParamsStore } from '@/store/modules/params.ts' ;
20
-
21
16
import { onUnmounted , ref , Ref } from 'vue' ;
22
17
import { writeBufferToTerminal } from '@/utils' ;
23
18
import type { ILunaConfig } from '@/hooks/interface' ;
24
-
25
- // 工具函数
26
19
import {
27
20
generateWsURL ,
28
21
handleContextMenu ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments