File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ def __str__(self):
46
46
# command_start="\x1b]633;B\x07",
47
47
# command_executed="\x1b]633;C\x07",
48
48
# )
49
- result = f"{ chr (27 )} ]633;D;{ exit_code } 0 { chr (7 )} { chr (27 )} ]633;A{ chr (7 )} { original_ps1 } { chr (27 )} ]633;B{ chr (7 )} { chr (27 )} ]633;C{ chr (7 )} "
49
+ 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 )} "
50
50
51
51
return result
52
52
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ def test_decoration_success():
10
10
11
11
ps1 .hooks .failure_flag = False
12
12
result = str (ps1 )
13
- assert result == "\x1b ]633;D;00 \x07 \x1b ]633;A\x07 >>> \x1b ]633;B\x07 \x1b ]633;C\x07 "
13
+ assert result == "\x1b ]633;D;0 \x07 \x1b ]633;A\x07 >>> \x1b ]633;B\x07 \x1b ]633;C\x07 "
14
14
15
15
16
16
def test_decoration_failure ():
@@ -20,7 +20,7 @@ def test_decoration_failure():
20
20
ps1 .hooks .failure_flag = True
21
21
result = str (ps1 )
22
22
23
- assert result == "\x1b ]633;D;10 \x07 \x1b ]633;A\x07 >>> \x1b ]633;B\x07 \x1b ]633;C\x07 "
23
+ assert result == "\x1b ]633;D;1 \x07 \x1b ]633;A\x07 >>> \x1b ]633;B\x07 \x1b ]633;C\x07 "
24
24
25
25
26
26
def test_displayhook_call ():
You can’t perform that action at this time.
0 commit comments