mirror of https://github.com/Llewellynvdm/fzf.git
Reset horizontal offset of the prompt on 'beginning-of-line'
https://github.com/junegunn/fzf/issues/3498#issuecomment-1806651174
This commit is contained in:
parent
38e3694d1c
commit
84bb350b14
|
@ -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…
Reference in New Issue