mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
parent
e523e25e38
commit
87cc28beca
@ -210,7 +210,7 @@ class RuntimeClient:
|
||||
def _get_bash_prompt_and_update_pwd(self):
|
||||
ps1 = self.shell.after
|
||||
|
||||
# begin at the last occurence of '[PEXPECT_BEGIN]'.
|
||||
# begin at the last occurrence of '[PEXPECT_BEGIN]'.
|
||||
# In multi-line bash commands, the prompt will be repeated
|
||||
# and the matched regex captures all of them
|
||||
# - we only want the last one (newest prompt)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user