MicroPythonDevices: modifie the rawOn sequence slightly. micropython

Sat, 20 Jul 2019 14:46:15 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 20 Jul 2019 14:46:15 +0200
branch
micropython
changeset 7068
e3200e4dfa63
parent 7067
3fc4082fc6ba
child 7069
a09a30251d4e

MicroPythonDevices: modifie the rawOn sequence slightly.

eric6/MicroPython/MicroPythonDevices.py file | annotate | diff | comparison | revisions
--- a/eric6/MicroPython/MicroPythonDevices.py	Thu Jul 18 20:30:03 2019 +0200
+++ b/eric6/MicroPython/MicroPythonDevices.py	Sat Jul 20 14:46:15 2019 +0200
@@ -280,9 +280,10 @@
         @type list of str
         """
         rawOn = [       # sequence of commands to enter raw mode
-            b'\x02',        # Ctrl-B: exit raw repl (just in case)
-            b'\r\x03\x03',  # Ctrl-C twice: interrupt any running program
-            b'\r\x01',      # Ctrl-A: enter raw REPL
+            b'\x02',            # Ctrl-B: exit raw repl (just in case)
+            b'\r\x03\x03\x03',  # Ctrl-C three times: interrupt any running
+                                # program
+            b'\r\x01',          # Ctrl-A: enter raw REPL
         ]
         newLine = [b'print("\\n")\r', ]
         commands = [c.encode("utf-8)") + b'\r' for c in commandsList]

eric ide

mercurial