mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/fix_console_linenosie' into 'master'
console: fix console stuck in auto test See merge request espressif/esp-idf!16913
This commit is contained in:
commit
76614e39ca
@ -865,7 +865,7 @@ static int linenoiseEdit(char *buf, size_t buflen, const char *prompt)
|
||||
nread = read(in_fd, &c, 1);
|
||||
if (nread <= 0) return l.len;
|
||||
|
||||
if ( (getMillis() - t1) < LINENOISE_PASTE_KEY_DELAY ) {
|
||||
if ( (getMillis() - t1) < LINENOISE_PASTE_KEY_DELAY && c != ENTER) {
|
||||
/* Pasting data, insert characters without formatting.
|
||||
* This can only be performed when the cursor is at the end of the
|
||||
* line. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user