Skip to content

Commit 2799eb5

Browse files
committed
Merge branch 'dev' into pr@dev@resurrection_kael
2 parents a7daa31 + 2e2a118 commit 2799eb5

File tree

2 files changed

+2
-61
lines changed

2 files changed

+2
-61
lines changed

ui/src/hooks/useTerminal.ts

+2-9
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,21 @@
1-
// Terminal 相关
1+
//TODO 后续移除
2+
23
import xtermTheme from 'xterm-theme';
34
import { Terminal } from '@xterm/xterm';
45
import { FitAddon } from '@xterm/addon-fit';
5-
// import { WebglAddon } from '@xterm/addon-webgl';
66
import { ISearchOptions, SearchAddon } from '@xterm/addon-search';
77
import { Sentry } from 'nora-zmodemjs/src/zmodem_browser';
88
import { defaultTheme } from '@/config';
9-
10-
// hook
119
import { watch, watchEffect } from 'vue';
1210
import { createDiscreteApi } from 'naive-ui';
1311
import { useWebSocket } from '@vueuse/core';
1412
import { useSentry } from '@/hooks/useZsentry.ts';
15-
16-
// store
1713
import { storeToRefs } from 'pinia';
1814
import { useTerminalStore } from '@/store/modules/terminal.ts';
1915
import { useParamsStore } from '@/store/modules/params.ts';
20-
2116
import { onUnmounted, ref, Ref } from 'vue';
2217
import { writeBufferToTerminal } from '@/utils';
2318
import type { ILunaConfig } from '@/hooks/interface';
24-
25-
// 工具函数
2619
import {
2720
generateWsURL,
2821
handleContextMenu,

ui/src/hooks/useWebSocketManager.ts

-52
This file was deleted.

0 commit comments

Comments
 (0)