mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
Add a space after prefilled console command string (#3985)
Add a space after console command string
This commit is contained in:
parent
8d8f4fd752
commit
3372b77e93
@ -292,6 +292,8 @@ class ConsoleAddon:
|
|||||||
Prompt the user to edit a command with a (possibly empty) starting value.
|
Prompt the user to edit a command with a (possibly empty) starting value.
|
||||||
"""
|
"""
|
||||||
quoted = " ".join(command_lexer.quote(x) for x in command_str)
|
quoted = " ".join(command_lexer.quote(x) for x in command_str)
|
||||||
|
if quoted:
|
||||||
|
quoted += " "
|
||||||
signals.status_prompt_command.send(partial=quoted)
|
signals.status_prompt_command.send(partial=quoted)
|
||||||
|
|
||||||
@command.command("console.command.set")
|
@command.command("console.command.set")
|
||||||
|
Loading…
Reference in New Issue
Block a user