xuey0ng / ped

0 stars 0 forks source link

Command history pointer seems to have an issue when navigating back and forth #6

Open xuey0ng opened 4 years ago

xuey0ng commented 4 years ago

After executing 2 commands, I tried pressing the up arrow key 10x. I then tried to press the down arrow 3x before it could move down to my second command.

AdithyaNarayan commented 4 years ago

Could you give us steps on how to reproduce this error? Would be helpful for us while fixing it. Thanks!

xuey0ng commented 4 years ago

Okay my apologies for the trash description :( What likely happened was that the same command got saved in the command history more than once — consecutively calling multiple "list_contact" commands in a row results in all of them being saved in the command history despite them being the exact same command.