sync: sync wip stuff
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import type { Program } from '../program/Program'
|
||||
import type { Terminal } from '../terminal/Terminal'
|
||||
import type { EventBroadcaster } from '../utils/EventBroadcaster'
|
||||
|
||||
@@ -12,6 +13,8 @@ export abstract class Shell {
|
||||
this.terminal = terminal
|
||||
}
|
||||
|
||||
abstract LoadProgram(program: Program, name: string): void
|
||||
abstract ExecuteProgram(name: string, args: string[]): void
|
||||
abstract Init(): void
|
||||
abstract HandleKeyInput(key: string, isCharacter: boolean): void
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user