[ 
https://issues.apache.org/jira/browse/KARAF-4837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15687742#comment-15687742
 ] 

Lijun Liao commented on KARAF-4837:
-----------------------------------

No. At least not in karaf 4.0.0 - 4.0.7.

> Session#readLine should not append to history
> ---------------------------------------------
>
>                 Key: KARAF-4837
>                 URL: https://issues.apache.org/jira/browse/KARAF-4837
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 4.1.0
>            Reporter: Lijun Liao
>            Assignee: Guillaume Nodet
>             Fix For: 4.1.0
>
>         Attachments: SayHelloCommand.java
>
>
> Considering the karaf shell demo-scope:say-hello implemented by the attached 
> file SayHelloCommand.java. The entered text "Bob" is included in the list of 
> historical commands. This is not expected.
> {code}
> karaf@root()>demo-scope:say-hello                          xx:xx:xx
> Enter your name: Bob
> Hello Alice
> karaf@root()<arrow-up>
> karaf@root()Bob
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to