更新压缩机制,提高前缀缓存命中率,优化UI渲染机制,提高帧数

This commit is contained in:
minorQAQ committed 2026-08-25 10:13:50 +08:00
1 parent 6131c2563e
commit 0ce72f74f1
175 files changed
+7621 -2611

No files matched your search

+2 -1
View File
@@ -29,8 +29,9 @@ contextBridge.exposeInMainWorld('electronAPI', {
openInExplorer: (filePath) => ipcRenderer.invoke('shell:openInExplorer', filePath),
// ===== 内置 PowerShell 终端 =====
spawnTerminal: (cwd) => ipcRenderer.invoke('terminal:spawn', { cwd }),
spawnTerminal: (cwd, cols, rows) => ipcRenderer.invoke('terminal:spawn', { cwd, cols, rows }),
sendTerminalInput: (id, data) => ipcRenderer.send('terminal:input', { id, data }),
resizeTerminal: (id, cols, rows) => ipcRenderer.send('terminal:resize', { id, cols, rows }),
killTerminal: (id) => ipcRenderer.send('terminal:kill', { id }),
killAllTerminals: () => ipcRenderer.send('terminal:killAll'),
onTerminalData: (cb) => {