Add uictl tabs
parent
2dbbd0c649
commit
63ed4b2173
|
@ -119,6 +119,21 @@ class Console::CommandDispatcher::Stdapi::Ui
|
|||
return true
|
||||
end
|
||||
|
||||
#
|
||||
# Tab completion for the uictl command
|
||||
#
|
||||
def cmd_uictl_tabs(str, words)
|
||||
return ['enable','disable'] if words.length == 1
|
||||
|
||||
case words[-1]
|
||||
when 'enable', 'disable'
|
||||
return ['keyboard', 'mouse', 'all']
|
||||
end
|
||||
|
||||
[]
|
||||
end
|
||||
|
||||
|
||||
#
|
||||
# Grab a screenshot of the current interactive desktop.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue