diff options
Diffstat (limited to 'console/src/jsMain')
-rw-r--r-- | console/src/jsMain/kotlin/main.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/console/src/jsMain/kotlin/main.kt b/console/src/jsMain/kotlin/main.kt index 82aa4b5..d480390 100644 --- a/console/src/jsMain/kotlin/main.kt +++ b/console/src/jsMain/kotlin/main.kt @@ -138,6 +138,9 @@ fun main() { }) console.registerCommand(command("cat"){ + if (args[0] =="*"){ + console.addLine("everything") + } val fa = requireFileAccessor() val path = when (args.size){ 1 -> args[0] |