From 97fe391cdac6c3f4e33ad80789fba2416893d4fa Mon Sep 17 00:00:00 2001 From: Katajisto Date: Sun, 29 Mar 2026 16:47:50 +0300 Subject: [PATCH] add help command --- src/editor/console.jai | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/editor/console.jai b/src/editor/console.jai index 56e5b55..b5fd2c4 100644 --- a/src/editor/console.jai +++ b/src/editor/console.jai @@ -69,6 +69,11 @@ add2 :: (a: int) -> int { return a + 2; } @Command +help :: () -> string { + for console_command_names console_add_output_line(it); + return ""; +} @Command + console_command_procs : [..]([]string) -> string; console_command_names : [..]string;