milo: override control-a for stack
This commit is contained in:
@@ -65,7 +65,7 @@ local localName
|
|||||||
|
|
||||||
print('detecting wired modem connected to furnaces...')
|
print('detecting wired modem connected to furnaces...')
|
||||||
for _, dev in pairs(device) do
|
for _, dev in pairs(device) do
|
||||||
if dev.type == 'wired_modem' then
|
if dev.type == 'wired_modem' and dev.getNameLocal then
|
||||||
local list = dev.getNamesRemote()
|
local list = dev.getNamesRemote()
|
||||||
furni = { }
|
furni = { }
|
||||||
localName = dev.getNameLocal()
|
localName = dev.getNameLocal()
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ local page = UI.Page {
|
|||||||
[ 'enter' ] = 'eject',
|
[ 'enter' ] = 'eject',
|
||||||
[ 'up' ] = 'grid_up',
|
[ 'up' ] = 'grid_up',
|
||||||
[ 'down' ] = 'grid_down',
|
[ 'down' ] = 'grid_down',
|
||||||
|
[ 'control-a' ] = 'eject_all',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
storageStatus = UI.Text {
|
storageStatus = UI.Text {
|
||||||
@@ -77,6 +78,7 @@ local page = UI.Page {
|
|||||||
backgroundFocusColor = colors.black,
|
backgroundFocusColor = colors.black,
|
||||||
accelerators = {
|
accelerators = {
|
||||||
[ 'enter' ] = 'eject_specified',
|
[ 'enter' ] = 'eject_specified',
|
||||||
|
[ 'control-a' ] = 'eject_all',
|
||||||
},
|
},
|
||||||
help = 'Specify an amount to send',
|
help = 'Specify an amount to send',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user