better startup
This commit is contained in:
@@ -134,6 +134,7 @@ local page = UI.Page {
|
||||
accelerators = {
|
||||
r = 'refresh',
|
||||
e = 'edit',
|
||||
f = 'files',
|
||||
s = 'shell',
|
||||
l = 'lua',
|
||||
[ 'control-l' ] = 'refresh',
|
||||
@@ -337,6 +338,12 @@ function page:eventHandler(event)
|
||||
focused = true,
|
||||
})
|
||||
|
||||
elseif event.type == 'files' then
|
||||
multishell.openTab({
|
||||
path = 'sys/apps/Files.lua',
|
||||
focused = true,
|
||||
})
|
||||
|
||||
elseif event.type == 'focus_change' then
|
||||
if event.focused.parent.UIElement == 'Icon' then
|
||||
event.focused.parent:scrollIntoView()
|
||||
|
||||
Reference in New Issue
Block a user