You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/05/24 22:18:33 UTC
[GitHub] [incubator-nuttx-apps] gustavonihei opened a new pull request #734: readline: Reset offset when top command is issued repeateadly
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:
users@infra.apache.org
[GitHub] [incubator-nuttx-apps] xiaoxiang781216 merged pull request #734: readline: Reset offset when top command is issued repeateadly
Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #734:
URL: https://github.com/apache/incubator-nuttx-apps/pull/734
--
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:
users@infra.apache.org