Преглед изворни кода

idf_monitor: send CR when ENTER is pressed

Other terminal emulators (screen, minicom) default to sending CR when
ENTER is pressed on the keyboard. Make behavior of idf_monitor
consistent with them.
Ivan Grokhotkov пре 8 година
родитељ
комит
141b1174c6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      tools/idf_monitor.py

+ 1 - 1
tools/idf_monitor.py

@@ -458,7 +458,7 @@ def main():
         choices=['CR', 'LF', 'CRLF'],
         type=lambda c: c.upper(),
         help="End of line to use when sending to the serial port",
-        default='CRLF')
+        default='CR')
 
     parser.add_argument(
         'elf_file', help='ELF file of application',