mirror of
https://github.com/kepler155c/opus
synced 2025-10-21 10:47:40 +00:00
safe digging
This commit is contained in:
@@ -135,6 +135,7 @@ local Browser = UI.Page {
|
||||
},
|
||||
accelerators = {
|
||||
q = 'quit',
|
||||
c = 'cedit',
|
||||
e = 'edit',
|
||||
s = 'shell',
|
||||
r = 'refresh',
|
||||
@@ -341,6 +342,9 @@ function Browser:eventHandler(event)
|
||||
elseif event.type == 'edit' and file then
|
||||
self:run('edit', file.name)
|
||||
|
||||
elseif event.type == 'cedit' and file then
|
||||
self:run('cedit', file.name)
|
||||
|
||||
elseif event.type == 'shell' then
|
||||
self:run('sys/apps/shell')
|
||||
|
||||
|
Reference in New Issue
Block a user