gustavonihei opened a new pull request #734:
URL: https://github.com/apache/incubator-nuttx-apps/pull/734


   ## Summary
   This PR intends to provide a fix to readline command history when the top 
(i.e. last issued) command is issued twice.
   
   Steps to reproduce the issue:
   ```shell
   NuttShell (NSH) NuttX-10.1.0-RC1
   nsh> ls    # Issued the ls command
   /:
    dev/
    proc/
   nsh> pwd   # Issued the pwd command
   /
   nsh> pwd   # UP key pressed here, pwd shown as expected
   /
   nsh> ls    # UP key pressed again, ls erroneously shown
   ```
   
   ## Impact
   NSH with `CONFIG_READLINE_CMD_HISTORY` enabled.
   
   ## Testing
   Reproduced the issue with `sim:nsh` and checked that the provided patch 
fixes the issue.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to