No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

theme1.py 368B

12345678910111213141516
  1. #!/usr/bin/env python3
  2. from clintermission import CliMenu, CliMenuTheme
  3. def main():
  4. q = ["Foo", "Bar", "Baz baz baz baz baz"]
  5. m = CliMenu(q, "Time to choose:\n", style=CliMenuTheme.BOLD_HIGHLIGHT)
  6. if m.success:
  7. print("You selected", m.get_selection())
  8. else:
  9. print("You aborted the selection")
  10. if __name__ == '__main__':
  11. main()