esp-idf/components/console/linenoise
Ivan Grokhotkov 9b2b86b7d9 console: fix linenoiseProbe never timing out
Fixes a regression from 753a92952: if cb was negative, read_bytes
overflowed, because the type was changed from int to size_t.

Also fixes incorrect timeout calculation: timeout_ms was 200, but
each iteration delayed for 10ms, and reduced timeout_ms by 1. This
made the effective timeout to be 2000ms.
2021-01-15 09:22:04 +01:00
..
LICENSE add console component and example 2017-08-21 15:58:27 +08:00
linenoise.c console: fix linenoiseProbe never timing out 2021-01-15 09:22:04 +01:00
linenoise.h console: make empty line behavior run-time configurable 2020-04-29 23:44:46 +02:00