aboutsummaryrefslogtreecommitdiff
path: root/console
diff options
context:
space:
mode:
authorecho <91651232+exhq@users.noreply.github.com>2022-10-07 11:10:28 +0330
committerecho <91651232+exhq@users.noreply.github.com>2022-10-07 11:10:28 +0330
commitf3238da1d58bac18117422c42cbd2e185e2df1e9 (patch)
treed8a15202bfc1207c181f93e8bfc77d8fd04af8ab /console
parenta63370cd4be86b85ab9cc533ba1756b610ae46e2 (diff)
downloadexhq.github.io-f3238da1d58bac18117422c42cbd2e185e2df1e9.tar.gz
exhq.github.io-f3238da1d58bac18117422c42cbd2e185e2df1e9.tar.bz2
exhq.github.io-f3238da1d58bac18117422c42cbd2e185e2df1e9.zip
ok now actually trolled
Diffstat (limited to 'console')
-rw-r--r--console/src/jsMain/kotlin/main.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/console/src/jsMain/kotlin/main.kt b/console/src/jsMain/kotlin/main.kt
index d480390..a30c8c7 100644
--- a/console/src/jsMain/kotlin/main.kt
+++ b/console/src/jsMain/kotlin/main.kt
@@ -140,6 +140,7 @@ fun main() {
console.registerCommand(command("cat"){
if (args[0] =="*"){
console.addLine("everything")
+ return@command
}
val fa = requireFileAccessor()
val path = when (args.size){