Added stripping of carriage-returns when pasting
This commit is contained in:
1 parent
78e729f580
commit
b08f870f47
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user