summaryrefslogtreecommitdiff
path: root/asciifarm/client/keymacros.hy
diff options
context:
space:
mode:
authortroido <troido@hotmail.com>2018-01-03 18:30:14 +0100
committertroido <troido@hotmail.com>2018-01-03 18:30:14 +0100
commit9ee677665df576fba1713544c761c3ef76dbdadc (patch)
tree2e41f40d6187922f22f3e3f3162b06f2140f9641 /asciifarm/client/keymacros.hy
parent99d7920cb3daf3fc5cb6f824eb4a639542d47974 (diff)
made scrolling of chat log possible
Diffstat (limited to 'asciifarm/client/keymacros.hy')
-rw-r--r--asciifarm/client/keymacros.hy3
1 files changed, 3 insertions, 0 deletions
diff --git a/asciifarm/client/keymacros.hy b/asciifarm/client/keymacros.hy
index 595a98c..b39ef5e 100644
--- a/asciifarm/client/keymacros.hy
+++ b/asciifarm/client/keymacros.hy
@@ -14,3 +14,6 @@
(defmacro selectorvalue [name]
`(.getValue (selector ~name)))
+
+(defmacro log [text]
+ `(self.client.log ~text))