diff options
author | | |δΈ‰ \/ | |\| <krazycavin@gmail.com> | 2020-05-08 22:04:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-08 22:04:05 +0200 |
commit | 3372b77e93c7adf98f6d067bf7bb01ded42054c0 (patch) | |
tree | f36b932d66b6a5357f4a06788b8417270f753ad1 | |
parent | 8d8f4fd752d029581472264967376a900cecf253 (diff) | |
download | mitmproxy-3372b77e93c7adf98f6d067bf7bb01ded42054c0.tar.gz mitmproxy-3372b77e93c7adf98f6d067bf7bb01ded42054c0.tar.bz2 mitmproxy-3372b77e93c7adf98f6d067bf7bb01ded42054c0.zip |
Add a space after prefilled console command string (#3985)
Add a space after console command string
-rw-r--r-- | mitmproxy/tools/console/consoleaddons.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mitmproxy/tools/console/consoleaddons.py b/mitmproxy/tools/console/consoleaddons.py index 12448945..8b9b4254 100644 --- a/mitmproxy/tools/console/consoleaddons.py +++ b/mitmproxy/tools/console/consoleaddons.py @@ -292,6 +292,8 @@ class ConsoleAddon: Prompt the user to edit a command with a (possibly empty) starting value. """ quoted = " ".join(command_lexer.quote(x) for x in command_str) + if quoted: + quoted += " " signals.status_prompt_command.send(partial=quoted) @command.command("console.command.set") |