Skip to content

update the connection code to be flexible on the prompt characters#47

Open
RobertBlackhart wants to merge 2 commits intovshymanskyy:mainfrom
RobertBlackhart:aiorepl
Open

update the connection code to be flexible on the prompt characters#47
RobertBlackhart wants to merge 2 commits intovshymanskyy:mainfrom
RobertBlackhart:aiorepl

Conversation

@RobertBlackhart
Copy link
Contributor

Fixes #30

The code will now look for 3 possible prompt values:

  • The >>> standard MicroPython prompt
  • The --> aiorepl prompt
  • Any custom prompt the user has set on sys.ps1

Here's a connection to a board with no customized prompt (same behavior as before the change):
image

Here's a connection to a board that has the aiorepl demo script in its main.py:
image

If ViperIDE detects the user has a custom prompt, it will log that fact:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant