This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 6bbb0771596 boards/sim: Add command line History, Edit and Search
6bbb0771596 is described below

commit 6bbb07715965cfce6de744c5882441707cdcb63e
Author: Alan Carvalho de Assis <[email protected]>
AuthorDate: Fri Jul 24 15:34:16 2026 -0300

    boards/sim: Add command line History, Edit and Search
    
    Since sim:nsh doesn't use much resource and it is used for testing
    let's enable the complete line editing support.
    
    Signed-off-by: Alan C. Assis <[email protected]>
---
 boards/sim/sim/sim/configs/nsh/defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/boards/sim/sim/sim/configs/nsh/defconfig 
b/boards/sim/sim/sim/configs/nsh/defconfig
index 74e659cff02..c28c4efe7fa 100644
--- a/boards/sim/sim/sim/configs/nsh/defconfig
+++ b/boards/sim/sim/sim/configs/nsh/defconfig
@@ -59,6 +59,8 @@ CONFIG_PIPES=y
 CONFIG_PSEUDOFS_ATTRIBUTES=y
 CONFIG_PSEUDOFS_FILE=y
 CONFIG_PSEUDOFS_SOFTLINKS=y
+CONFIG_READLINE_CMD_HISTORY=y
+CONFIG_READLINE_EDIT_EMACS=y
 CONFIG_READLINE_TABCOMPLETION=y
 CONFIG_RTC=y
 CONFIG_RTC_ARCH=y

Reply via email to