summary refs log tree commit diff
path: root/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'command.c')
-rw-r--r--command.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/command.c b/command.c
index 4100928..feb52b7 100644
--- a/command.c
+++ b/command.c
@@ -154,11 +154,16 @@ static void commandOpen(size_t id, char *params) {
 	}
 }
 
+static void commandCopy(size_t id, char *params) {
+	urlCopyMatch(id, params);
+}
+
 static const struct Handler {
 	const char *cmd;
 	Command *fn;
 } Commands[] = {
 	{ "/close", commandClose },
+	{ "/copy", commandCopy },
 	{ "/debug", commandDebug },
 	{ "/join", commandJoin },
 	{ "/me", commandMe },
:41 -0400'>2019-08-25Build with cards submoduleJune McEnroe 2019-08-25Add cards submoduleJune McEnroe 2019-08-25Remove files from cards repoJune McEnroe 2019-08-22Add READMEJune McEnroe 2019-08-22Add exampleJune McEnroe 2019-08-22Add FILES sectionJune McEnroe 2019-08-22Remove gamesJune McEnroe 2019-04-04Mark card functions inlineJune McEnroe 2019-04-04Add listClearJune McEnroe 2019-04-03Tweak mouseButtonUp code a bitJune McEnroe 2019-04-03Check gameAvail on double-clickJune McEnroe 2019-04-02Select and move cards on mouse upJune McEnroe 2019-04-01Add idSkipJune McEnroe 2019-03-31Fix weird typoJune McEnroe 2019-03-30Add undo to freecellJune McEnroe 2019-03-29Replace path.h with asset.hJune McEnroe 2019-03-29Add king win faceJune McEnroe 2019-03-29Change king face directionJune McEnroe 2019-03-29Load king bitmaps in freecellJune McEnroe