mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00
Missing changes for multiline text
This commit is contained in:
parent
0c1540e531
commit
02c6b1b6c7
@ -113,7 +113,10 @@ function init()
|
|||||||
local tab = consoleTabBar:getCurrentTab()
|
local tab = consoleTabBar:getCurrentTab()
|
||||||
if not tab then return false end
|
if not tab then return false end
|
||||||
|
|
||||||
g_window.setClipboardText(selectioText)
|
local selection = tab.tabPanel:getChildById('consoleBuffer').selectionText
|
||||||
|
if not selection then return false end
|
||||||
|
|
||||||
|
g_window.setClipboardText(selection)
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user