Loading src/tools/tools.py +10 Changes for src/tools/tools.py: 10 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -245,6 +245,9 @@ class Tools: f' {Colors.RESET}:', end='', ) # User selection if len(branches) > 0: choice: Optional[str] = questionary_text( message='', default='', Loading @@ -256,6 +259,13 @@ class Tools: lexer=None, ).ask() # Empty selection else: choice = '0' print(f'{Colors.YELLOW_LIGHT} 0' f'{Colors.CYAN} (No selection available)' f'{Colors.RESET}') # Manual branch input if choice and int(choice) == 0: print( Loading Loading
src/tools/tools.py +10 Changes for src/tools/tools.py: 10 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -245,6 +245,9 @@ class Tools: f' {Colors.RESET}:', end='', ) # User selection if len(branches) > 0: choice: Optional[str] = questionary_text( message='', default='', Loading @@ -256,6 +259,13 @@ class Tools: lexer=None, ).ask() # Empty selection else: choice = '0' print(f'{Colors.YELLOW_LIGHT} 0' f'{Colors.CYAN} (No selection available)' f'{Colors.RESET}') # Manual branch input if choice and int(choice) == 0: print( Loading