Menu

#18 Option to not add input to command history

closed-fixed
5
2006-07-22
2006-04-26
Anonymous
No

It would be useful if there was an option so that
readLine() didn't always add the input to the command
history. For example, a command entered in a console
application may prompt the user for input. The
original command should go in command history but you
may not want the command input should not.

I have attached a patch to ConsoleReader.java that
would provide this ability

Discussion

  • Nobody/Anonymous

    Patch for proposed enhancement

     
  • Marc Prud'hommeaux

    • assigned_to: nobody --> mprudhom
    • status: open --> closed-fixed
     
  • Marc Prud'hommeaux

    Logged In: YES
    user_id=33016

    Added setUseHistory/getUseHistory methods in next release.

     

Log in to post a comment.