about summary refs log tree commit diff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/input.c b/input.c
index 0d8e491..6e95b11 100644
--- a/input.c
+++ b/input.c
@@ -135,12 +135,20 @@ static void inputClose(struct Tag tag, char *params) {
 	tabRemove(TagNone, tag.name);
 }
 
+static void inputMan(struct Tag tag, char *params) {
+	(void)tag;
+	(void)params;
+	char *argv[] = { "man", "1", "chatte", NULL };
+	eventWait(argv);
+}
+
 static const struct {
 	const char *command;
 	Handler handler;
 } Commands[] = {
 	{ "/close", inputClose },
 	{ "/join", inputJoin },
+	{ "/man", inputMan },
 	{ "/me", inputMe },
 	{ "/names", inputWho },
 	{ "/nick", inputNick },
>2020-02-11Define ColorCap instead of hardcoding 100June McEnroe 2020-02-11Move hash to top of chat.hJune McEnroe 2020-02-11Move base64 out of chat.hJune McEnroe 2020-02-11Move XDG_SUBDIR out of chat.hJune McEnroe 2020-02-11Fix whois idle unit calculationJune McEnroe 2020-02-11Cast towupper to wchar_tJune McEnroe 2020-02-11Cast set but unused variables to voidJune McEnroe 2020-02-11Declare strlcatJune McEnroe 2020-02-11Check if VDSUSP existsJune McEnroe 2020-02-11Fix completeReplace iterationJune McEnroe 2020-02-11Use pkg(8) to configure on FreeBSDJune McEnroe 2020-02-11Remove legacy codeJune McEnroe 2020-02-11Add INSTALLING section to READMEJune McEnroe