We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 546560d commit 9b85767Copy full SHA for 9b85767
python_files/pythonrc.py
@@ -63,12 +63,13 @@ def __str__(self):
63
command_executed="\x1b]633;C\x07",
64
)
65
else:
66
- result = "{command_finished}{prompt_started}{prompt}{command_start}{command_executed}".format(
+ result = "{command_finished}{prompt_started}{prompt}{command_start}{command_executed}{windows_true}".format(
67
command_finished="\x1b]633;D;" + str(exit_code) + "\x07",
68
prompt_started="\x1b]633;A\x07",
69
prompt=original_ps1,
70
command_start="\x1b]633;B\x07",
71
72
+ windows_true="\x1b]633;P;IsWindows=true\x07",
73
74
75
# result = f"{chr(27)}]633;D;{exit_code}{chr(7)}{chr(27)}]633;A{chr(7)}{original_ps1}{chr(27)}]633;B{chr(7)}{chr(27)}]633;C{chr(7)}"
0 commit comments