From 321b23c68aa8e0c2445fdddee632693a06fd86e1 Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Mon, 21 Feb 2022 18:11:04 +0100 Subject: Added rerun command --- src/cmd.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/cmd.h') diff --git a/src/cmd.h b/src/cmd.h index 4327545..205f6a7 100644 --- a/src/cmd.h +++ b/src/cmd.h @@ -19,6 +19,11 @@ struct cmd { void cmd_init(void); void cmd_deinit(void); +bool cmd_run(const wchar_t *name); +bool cmd_rerun(void); + +const struct cmd *cmd_get(const wchar_t *name); +const struct cmd *cmd_find(const wchar_t *name); + extern const struct cmd commands[]; extern const size_t command_count; -extern char *cmd_status; -- cgit v1.2.3-71-gd317