aboutsummaryrefslogtreecommitdiff
path: root/console
diff options
context:
space:
mode:
authorecho <91651232+exhq@users.noreply.github.com>2022-10-07 11:07:53 +0330
committerecho <91651232+exhq@users.noreply.github.com>2022-10-07 11:07:53 +0330
commita63370cd4be86b85ab9cc533ba1756b610ae46e2 (patch)
tree19c76711e338093087bcc88d127f2be52204eda0 /console
parenta326b130833050ee4d35ddbbcf8f982a723d57a8 (diff)
downloadexhq.github.io-a63370cd4be86b85ab9cc533ba1756b610ae46e2.tar.gz
exhq.github.io-a63370cd4be86b85ab9cc533ba1756b610ae46e2.tar.bz2
exhq.github.io-a63370cd4be86b85ab9cc533ba1756b610ae46e2.zip
lmfao trolled
Diffstat (limited to 'console')
-rw-r--r--console/src/jsMain/kotlin/main.kt3
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]