Skip to content

Commit 83ae401

Browse files
committed
feat(Status check): add bg running info
1 parent a1c9f22 commit 83ae401

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/wcgw/client/bash_state/bash_state.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,9 @@ def _execute_bash(
12681268
elif isinstance(command_data, StatusCheck):
12691269
bash_state.console.print("Checking status")
12701270
if bash_state.state != "pending":
1271-
return "No running command to check status of", 0.0
1271+
error = "No running command to check status of.\n"
1272+
error += get_bg_running_commandsinfo(bash_state)
1273+
return error, 0.0
12721274

12731275
elif isinstance(command_data, SendText):
12741276
if not command_data.send_text:

0 commit comments

Comments
 (0)