Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update identification of SROS device prompt #56996

Open
wants to merge 1 commit into
base: devel
from
Open
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Update identification of SROS device prompt

Identify SROS device prompt ending with "$>"

This is fix to the issue described in this comment:
#24192 (comment)
  • Loading branch information...
Juha Rajamaki
Juha Rajamaki committed May 27, 2019
commit b8eae0df9f530ff1f63b65fbc612b4a7e2db3366
@@ -28,7 +28,7 @@
class TerminalModule(TerminalBase):

terminal_stdout_re = [
re.compile(br"[\r\n]?[\w+\-\.:\/\[\]]+(?:\([^\)]+\)){,3}(?:>|#|\$|>#) ?$"),
re.compile(br"[\r\n]?[\w+\-\.:\/\[\]]+(?:\([^\)]+\)){,3}(?:>|#|\$|>#|>\$) ?$"),
re.compile(br"\[\w+\@[\w\-\.]+(?: [^\]])\] ?[>#\$] ?$")
]

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.