From 3efd5ae38bf5467c3d61c9b3478ca96950104510 Mon Sep 17 00:00:00 2001 From: nea Date: Thu, 9 Dec 2021 03:09:45 +0100 Subject: delay --- src/main/kotlin/moe/nea89/website/ShellExecutionContext.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/kotlin/moe/nea89/website/ShellExecutionContext.kt') diff --git a/src/main/kotlin/moe/nea89/website/ShellExecutionContext.kt b/src/main/kotlin/moe/nea89/website/ShellExecutionContext.kt index 9040f95..cec0b9e 100644 --- a/src/main/kotlin/moe/nea89/website/ShellExecutionContext.kt +++ b/src/main/kotlin/moe/nea89/website/ShellExecutionContext.kt @@ -33,6 +33,7 @@ class ShellExecutionContext( fun run( console: KConsole, command: Command, name: String, args: List ) { + console.state = KConsole.ConsoleState.IN_PROGRAM val se = ShellExecutionContext(console, name, args) command.runner.createCoroutine(se, object : Continuation { override val context: CoroutineContext -- cgit