From 1e938b19b0e01afe0b39519f45c9100e0c2873e6 Mon Sep 17 00:00:00 2001 From: rhpidfyre Date: Fri, 21 Feb 2025 17:34:59 -0500 Subject: [PATCH] rename `run.ts` -> `command.ts` --- src/components/client/keys.ts | 2 +- src/components/client/shell/command/{run.ts => command.ts} | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) rename src/components/client/shell/command/{run.ts => command.ts} (97%) diff --git a/src/components/client/keys.ts b/src/components/client/keys.ts index 210f9f2..10b1291 100644 --- a/src/components/client/keys.ts +++ b/src/components/client/keys.ts @@ -1,4 +1,4 @@ -import run from "./shell/command/run" +import run from "./shell/command/command" import history from "./shell/history" type InputClosure = (key_event: KeyboardEvent) => void diff --git a/src/components/client/shell/command/run.ts b/src/components/client/shell/command/command.ts similarity index 97% rename from src/components/client/shell/command/run.ts rename to src/components/client/shell/command/command.ts index 118339e..2f825a1 100644 --- a/src/components/client/shell/command/run.ts +++ b/src/components/client/shell/command/command.ts @@ -34,4 +34,6 @@ export default function run(term: Term, stdin: string) { } history.add(args.join(" ")) return false -} \ No newline at end of file +} + +export { unknown_command } \ No newline at end of file