mirror of
https://github.com/LazoCoder/Pokemon-Terminal
synced 2024-11-23 04:13:20 +00:00
Fix extra images in ConEmu
This commit is contained in:
parent
1961b069f8
commit
b9b07ab329
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,8 @@ class ConEmuProvider(_TProv):
|
|||
print(output)
|
||||
|
||||
def change_terminal(path: str):
|
||||
ConEmuProvider.__run_command(f'SetOption("Background Image", "{path}")')
|
||||
# Replace single slashes by properly escaped double backslashes (for whatever escape this scripting thing does)
|
||||
ConEmuProvider.__run_command('SetOption("Background Image", "{}")'.format(path.replace("\\", "\\\\")))
|
||||
|
||||
def clear():
|
||||
ConEmuProvider.__run_command('SetOption("Background Image", "")')
|
||||
|
|
Loading…
Reference in a new issue