Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4837

Session#readLine should not append to history

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.0
    • 4.1.0
    • karaf
    • None

    Description

      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.

      karaf@root()>demo-scope:say-hello                          xx:xx:xx
      Enter your name: Bob
      Hello Alice
      
      karaf@root()<arrow-up>
      karaf@root()Bob
      

      Attachments

        1. SayHelloCommand.java
          0.7 kB
          Lijun Liao

        Activity

          People

            gnodet Guillaume Nodet
            lliao Lijun Liao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: