1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-20 02:07:39 +00:00

multishell hooks

This commit is contained in:
kepler155c@gmail.com
2017-10-15 02:36:54 -04:00
parent 8b187f2813
commit 9b8b5238b0
7 changed files with 279 additions and 254 deletions

View File

@@ -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 = { }

View File

@@ -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