add carousel
This commit is contained in:
parent
79dfa66247
commit
555b285d36
@ -369,7 +369,7 @@ class connapp:
|
|||||||
print("Config saved")
|
print("Config saved")
|
||||||
|
|
||||||
def _choose(self, list, name, action):
|
def _choose(self, list, name, action):
|
||||||
questions = [inquirer.List(name, message="Pick {} to {}:".format(name,action), choices=list)]
|
questions = [inquirer.List(name, message="Pick {} to {}:".format(name,action), choices=list, carousel=True)]
|
||||||
answer = inquirer.prompt(questions)
|
answer = inquirer.prompt(questions)
|
||||||
if answer == None:
|
if answer == None:
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user