mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 13:44:32 +02:00
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:
@@ -458,7 +458,7 @@ def main():
|
|||||||
choices=['CR', 'LF', 'CRLF'],
|
choices=['CR', 'LF', 'CRLF'],
|
||||||
type=lambda c: c.upper(),
|
type=lambda c: c.upper(),
|
||||||
help="End of line to use when sending to the serial port",
|
help="End of line to use when sending to the serial port",
|
||||||
default='CRLF')
|
default='CR')
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'elf_file', help='ELF file of application',
|
'elf_file', help='ELF file of application',
|
||||||
|
Reference in New Issue
Block a user