Files global clipboard

This commit is contained in:
kepler155c@gmail.com 2017-05-12 01:44:49 -04:00
parent ae3ee946e4
commit 236bf5845d
1 changed files with 7 additions and 0 deletions

View File

@ -143,6 +143,13 @@ function Browser.grid:getRowBackgroundColorX(file, selected)
return self.backgroundColor
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()
if self.parent.dir then
local info = '#:' .. Util.size(self.parent.dir.files)