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

Session#readLine should not append to history

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.0
    • Component/s: karaf
    • Labels:
      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

          Activity

            People

            • Assignee:
              gnt Guillaume Nodet
              Reporter:
              lliao Lijun Liao
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: