diff --git a/src/app/editorgrid.ts b/src/app/editorgrid.ts index 209fadb..859cf82 100644 --- a/src/app/editorgrid.ts +++ b/src/app/editorgrid.ts @@ -39,10 +39,8 @@ const EditorWrapper = ( const editors = vanX.reactive([[]]); const currentTab = van.state(0); -van.derive(() => console.log("Setting tab to", currentTab.val)); export function addEditor(file: OpenFile) { - console.log("Adding editor to tab ", currentTab.val, editors); const editor = file.createEditor(); editors[currentTab.val].push(vanX.noreactive(editor)); editor.focus(); @@ -53,7 +51,6 @@ export function addTab(file?: OpenFile) { } export function addTerminal() { - console.log("Adding terminal"); const term = new Terminal(); editors[currentTab.val].push(vanX.noreactive(term)); term.focus(); @@ -71,7 +68,6 @@ const TabHeader = (tab: State, del: () => void, k: number) => ); const EditorGrid = (tab: State, del: () => void, k: number) => { - console.log("Rendering", tab.val, "with key", k); const main = v.main({ class: "flex flex-auto gap-4 overflow-x-auto min-width-4", hidden: () => k !== currentTab.val, diff --git a/src/app/filestate.ts b/src/app/filestate.ts index 9100815..7867416 100644 --- a/src/app/filestate.ts +++ b/src/app/filestate.ts @@ -139,7 +139,6 @@ export class OpenFile { } get target() { - console.log("Getting target"); return { state: this.rootState.val, dispatch: (tr: TransactionSpec) => this.dispatch(tr), diff --git a/src/main/pty.ts b/src/main/pty.ts index 02f27aa..62e6d5c 100644 --- a/src/main/pty.ts +++ b/src/main/pty.ts @@ -33,7 +33,6 @@ export class TerminalManager { }; ptyProcess.onData((data) => { - console.log(`Terminal ${id} data:`, data); event.sender.send("terminal:data", id, data); });