Skip to content

The command auto-completion will have problems when it hits a slash string #32

Description

@LouisXXL
from ishell.command import Command
class SetTimezoneCommand(Command):
   command_list = ['Africa/Dakar', 'Africa/Conakry']
   def args(self):
       return self.command_list 
   def run(self, line):
       pass
linux@louis$ python myshell.py
>>>>>>>>>>>>>Hello<<<<<<<<<<
> set timezone Africa

The string behind the tab slash cannot be displayed, Is this a bug? Or is there another way to write this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions