Added stripping of carriage-returns when pasting
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user