Added stripping of carriage-returns when pasting

This commit is contained in:
rxi committed 2020-05-09 14:22:13 +01:00
1 parent 78e729f580
commit b08f870f47
1 file changed
+1 -1
+1 -1
View File
@@ -88,7 +88,7 @@ local commands = {
end,
["doc:paste"] = function()
doc():text_input(system.get_clipboard())
doc():text_input(system.get_clipboard():gsub("\r", ""))
end,
["doc:newline"] = function()