Fix how promptLen is calculated

https://github.com/lestrrat/peco/commit/d5b229879dac8188180797c086187c7ff047ad76#commitcomment-6647492