feat: working filesystem
This commit is contained in:
@@ -41,7 +41,7 @@ export const SetCurrentTerminal = (terminal: Terminal) => CurrentTerminal = term
|
||||
export const GetCurrentTerminal = (): Terminal => CurrentTerminal
|
||||
|
||||
// Initializes the app
|
||||
const init = () => {
|
||||
const init = async () => {
|
||||
const localBroadcaster = new EventBroadcaster()
|
||||
|
||||
// creates keyboard listeners for the local event broadcaster
|
||||
@@ -51,5 +51,5 @@ const init = () => {
|
||||
)
|
||||
|
||||
const terminal = new Terminal()
|
||||
terminal.LoadShell(new Wush(localBroadcaster, terminal))
|
||||
await terminal.LoadShell(new Wush(localBroadcaster, terminal))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user