diff --git a/mitmproxy/tools/console/commander/commander.py b/mitmproxy/tools/console/commander/commander.py index c79bc379f..bef43a7e4 100644 --- a/mitmproxy/tools/console/commander/commander.py +++ b/mitmproxy/tools/console/commander/commander.py @@ -27,6 +27,7 @@ class ListCompleter(Completer): for o in options: if o.startswith(start): self.options.append(o) + self.options.sort() self.offset = 0 def cycle(self) -> str: