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.
pull/928/head
Ivan Grokhotkov 2017-08-15 16:47:55 +08:00
rodzic d7d6f1e376
commit 141b1174c6
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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',