mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-23 03:19:01 +00:00
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:
|
case actBeginningOfLine:
|
||||||
t.cx = 0
|
t.cx = 0
|
||||||
|
t.xoffset = 0
|
||||||
case actBackwardChar:
|
case actBackwardChar:
|
||||||
if t.cx > 0 {
|
if t.cx > 0 {
|
||||||
t.cx--
|
t.cx--
|
||||||
|
Loading…
Reference in New Issue
Block a user