Re: Changes in Common Line Editor

2023-03-10 Thread Huang Qi
> There are bandaid fixes going in that try to recover from the primary bad > fix. That is not > good. That is only making things worse. We need to fix > the root cause of the problem > no just change the behavior of individual apps to hide the problem. The root > cause is > that the serial

Re: Changes in Common Line Editor

2023-03-10 Thread Gregory Nutt
On 3/10/2023 4:55 AM, Sebastien Lorquet wrote: Well, there it is https://github.com/apache/nuttx-apps/issues/1653 Note that I dont get this behaviour with readline. We can continue to discuss this in the issue. Sebastien There are bandaid fixes going in that try to recover from the primary

Re: Changes in Common Line Editor

2023-03-10 Thread Sebastien Lorquet
Well, there it is https://github.com/apache/nuttx-apps/issues/1653 Note that I dont get this behaviour with readline. We can continue to discuss this in the issue. Sebastien Le 10/03/2023 à 11:47, Sebastien Lorquet a écrit : Hi, I have tested CLE and noticed this side effect. My system ha

Re: Changes in Common Line Editor

2023-03-10 Thread Sebastien Lorquet
Hi, I have tested CLE and noticed this side effect. My system has background tasks at boot. these tasks write messages on the console. At boot, a DHCP thread gets an IP after a delay. When I typed the help command, the first h appeared twice: at first position of the line, and also at the co

Changes in Common Line Editor

2023-03-10 Thread Qi3 Huang 黄齐
Hi all: I've submitted a new patch to GitHub (https://github.com/apache/nuttx-apps/pull/1650), in this is to maintain the cursor position in cle's internal instead of query from terminal, this avoid the query operation before each line read operation. Then the cle's behavior is much mo