From 890feada1e222ae98317286e8fb70f05c68ec94a Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Sun, 21 Sep 2025 21:37:27 -0700 Subject: [PATCH] hmm --- nose/bin/{edit.ts => edit.tsx} | 11 ++++------- src/css/editor.css | 1 + 2 files changed, 5 insertions(+), 7 deletions(-) rename nose/bin/{edit.ts => edit.tsx} (82%) diff --git a/nose/bin/edit.ts b/nose/bin/edit.tsx similarity index 82% rename from nose/bin/edit.ts rename to nose/bin/edit.tsx index 8183c32..275e471 100644 --- a/nose/bin/edit.ts +++ b/nose/bin/edit.tsx @@ -45,13 +45,10 @@ async function readFile(path: string): Promise { const text = await file.text() const rows = countChar(text, "\n") + 1 - return { - html: `` - } + return + } -function newFile(path: string): CommandOutput { - return { - html: `` - } +async function newFile(path: string): Promise { + return } diff --git a/src/css/editor.css b/src/css/editor.css index 604dd74..3664dfe 100644 --- a/src/css/editor.css +++ b/src/css/editor.css @@ -2,6 +2,7 @@ width: 100%; background-color: transparent; border: none; + resize: none; } .editor:focus {