Added stripping of carriage-returns when pasting
This commit is contained in:
parent
78e729f580
commit
b08f870f47
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue