WIP terminal integration

This commit is contained in:
2025-09-04 00:26:22 -05:00
parent 73f25aae1c
commit ed89f34d40
16 changed files with 234 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ contextBridge.exposeInMainWorld('electron', {
contextBridge.exposeInMainWorld('main', {
onMenuActions: (callback) => ipcRenderer.on('menu-actions', (_event, action) => callback(action)),
onTerminalActions: (callback) => ipcRenderer.on('terminal-actions', (_event, action) => callback(action)),
quit: () => ipcRenderer.invoke("quit"),
toggleFullScreen: () => ipcRenderer.invoke("toggleFullScreen"),
});