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.
This commit is contained in:
Ivan Grokhotkov 2017-08-15 16:47:55 +08:00
parent d7d6f1e376
commit 141b1174c6

View file

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