Reset horizontal offset of the prompt on 'beginning-of-line'

https://github.com/junegunn/fzf/issues/3498#issuecomment-1806651174
pull/3509/head
Junegunn Choi 6 months ago
parent 38e3694d1c
commit 84bb350b14
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -3310,6 +3310,7 @@ func (t *Terminal) Loop() {
}
case actBeginningOfLine:
t.cx = 0
t.xoffset = 0
case actBackwardChar:
if t.cx > 0 {
t.cx--

Loading…
Cancel
Save