mirror of
https://github.com/kepler155c/opus
synced 2025-10-20 02:07:39 +00:00
multishell hooks
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
local colors = _G.colors
|
||||
local fs = _G.fs
|
||||
local os = _G.os
|
||||
--local shell = _ENV.shell
|
||||
local shell = _ENV.shell
|
||||
local term = _G.term
|
||||
|
||||
local Opus = { }
|
||||
|
@@ -1671,7 +1671,7 @@ function UI.Grid:eventHandler(event)
|
||||
end
|
||||
elseif event.type == 'copy' then
|
||||
if self.selected then
|
||||
os.queueEvent('clipboard_copy', Util.tostring(self.selected))
|
||||
os.queueEvent('clipboard_copy', self.selected)
|
||||
end
|
||||
else
|
||||
return false
|
||||
|
Reference in New Issue
Block a user