rename run.ts
-> command.ts
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
import run from "./shell/command/run"
|
import run from "./shell/command/command"
|
||||||
import history from "./shell/history"
|
import history from "./shell/history"
|
||||||
|
|
||||||
type InputClosure = (key_event: KeyboardEvent) => void
|
type InputClosure = (key_event: KeyboardEvent) => void
|
||||||
|
@ -34,4 +34,6 @@ export default function run(term: Term, stdin: string) {
|
|||||||
}
|
}
|
||||||
history.add(args.join(" "))
|
history.add(args.join(" "))
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export { unknown_command }
|
Reference in New Issue
Block a user