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 changed files with 1 additions and 1 deletions

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()