Fix prompt history handling when pressing the down key
Fix prompt history handling when pressing the down key

lenormf/kakoune,Asenar/kakoune,casimir/kakoune,alpha123/kakoune,alexherbo2/kakoune,jjthrash/kakoune,occivink/kakoune,casimir/kakoune,alpha123/kakoune,Somasis/kakoune,danr/kakoune,ekie/kakoune,jkonecny12/kakoune,casimir/kakoune,alexherbo2/kakoune,jjthrash/kakoune,jkonecny12/kakoune,mawww/kakoune,occivink/kakoune,occivink/kakoune,flavius/kakoune,danr/kakoune,ekie/kakoune,flavius/kakoune,ekie/kakoune,danr/kakoune,casimir/kakoune,alexherbo2/kakoune,lenormf/kakoune,lenormf/kakoune,danr/kakoune,mawww/kakoune,jjthrash/kakoune,occivink/kakoune,jkonecny12/kakoune,alpha123/kakoune,Asenar/kakoune,alpha123/kakoune,mawww/kakoune,Somasis/kakoune,alexherbo2/kakoune,lenormf/kakoune,Asenar/kakoune,ekie/kakoune,Asenar/kakoune,jkonecny12/kakoune,flavius/kakoune,mawww/kakoune,jjthrash/kakoune,flavius/kakoune,Somasis/kakoune,Somasis/kakoune