diff --git a/text_transfer.py b/text_transfer.py index f8017ada..cc81cfa1 100644 --- a/text_transfer.py +++ b/text_transfer.py @@ -27,6 +27,14 @@ def wrap(func): return wrap +@sender("coffee") +def coffee(repl, text, view=None): + """ + use CoffeeScript multiline hack + http://coffeescript.org/documentation/docs/repl.html + """ + default_sender(repl, text.replace("\n", u'\uFF00') + "\n", view) + @sender("python") def python_sender(repl, text, view=None): text_wo_encoding = re.sub(