1
0
mirror of https://github.com/kepler155c/opus synced 2024-06-14 17:29:59 +00:00

Files global clipboard

This commit is contained in:
kepler155c@gmail.com 2017-05-12 01:44:49 -04:00
parent ae3ee946e4
commit 236bf5845d

View File

@ -143,6 +143,13 @@ function Browser.grid:getRowBackgroundColorX(file, selected)
return self.backgroundColor return self.backgroundColor
end end
function Browser.grid:eventHandler(event)
if event.type == 'copy' then -- let copy be handled by parent
return false
end
return UI.Grid.eventHandler(self, event)
end
function Browser.statusBar:draw() function Browser.statusBar:draw()
if self.parent.dir then if self.parent.dir then
local info = '#:' .. Util.size(self.parent.dir.files) local info = '#:' .. Util.size(self.parent.dir.files)