mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +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.
|
||||
"""
|
||||
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")
|
||||
|
Loading…
Reference in New Issue
Block a user