> > In this specific case up arrow should also retrieve the previous > history, instead of going into the prompt which is useless in > this case. > Attached a patch doing what I propose.