summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--serial/tools/miniterm.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/serial/tools/miniterm.py b/serial/tools/miniterm.py
index 2cceff6..1ed04b7 100644
--- a/serial/tools/miniterm.py
+++ b/serial/tools/miniterm.py
@@ -104,16 +104,16 @@ if os.name == 'nt': # noqa
class Console(ConsoleBase):
fncodes = {
- ';': '\1bOP', # F1
- '<': '\1bOQ', # F2
- '=': '\1bOR', # F3
- '>': '\1bOS', # F4
- '?': '\1b[15~', # F5
- '@': '\1b[17~', # F6
- 'A': '\1b[18~', # F7
- 'B': '\1b[19~', # F8
- 'C': '\1b[20~', # F9
- 'D': '\1b[21~', # F10
+ ';': '\x1bOP', # F1
+ '<': '\x1bOQ', # F2
+ '=': '\x1bOR', # F3
+ '>': '\x1bOS', # F4
+ '?': '\x1b[15~', # F5
+ '@': '\x1b[17~', # F6
+ 'A': '\x1b[18~', # F7
+ 'B': '\x1b[19~', # F8
+ 'C': '\x1b[20~', # F9
+ 'D': '\x1b[21~', # F10
}
navcodes = {
'H': '\x1b[A', # UP