summaryrefslogtreecommitdiff
path: root/examples/simple_dispatcher.lua
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple_dispatcher.lua')
-rw-r--r--examples/simple_dispatcher.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/simple_dispatcher.lua b/examples/simple_dispatcher.lua
index 5a931e3..4c935fe 100644
--- a/examples/simple_dispatcher.lua
+++ b/examples/simple_dispatcher.lua
@@ -1,6 +1,6 @@
return {
- ["%w+%s*"] = function(match)
- local cmd = string.match("(%w+)%s*", match)
- command_queue:enqueue_command(cmd)
- end
-} \ No newline at end of file
+ ["%w+%s*\n"] = function(match)
+ local cmd = string.match("(%w+)%s*", match)
+ command_queue:enqueue_command(cmd)
+ end
+}