alternatives

This commit is contained in:
kepler155c@gmail.com
2019-11-08 19:54:41 -07:00
parent 6d8d62d309
commit 57ea46dde7
5 changed files with 63 additions and 8 deletions

View File

@@ -1,3 +1,4 @@
local Alt = require('opus.alternate')
local Config = require('opus.config')
local Event = require('opus.event')
local pastebin = require('opus.http.pastebin')
@@ -353,7 +354,7 @@ function Browser:eventHandler(event)
self:setStatus('Started cloud edit')
elseif event.type == 'shell' then
self:run('sys/apps/shell.lua')
self:run(Alt.get('shell'))
elseif event.type == 'refresh' then
self:updateDirectory(self.dir)