Added stripping of carriage-returns when pasting

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