display word counts

This commit is contained in:
2026-02-21 09:44:02 +10:00
parent e21d1c7b58
commit 9cf57fe508
7 changed files with 96 additions and 4 deletions

View File

@@ -43,5 +43,7 @@ contextBridge.exposeInMainWorld('api', {
ipcRenderer.removeAllListeners('ai:chunk')
ipcRenderer.removeAllListeners('ai:done')
ipcRenderer.removeAllListeners('ai:error')
}
},
getProjectWordCount: (): Promise<number> => ipcRenderer.invoke('fs:projectWordCount')
})