mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-24 13:47:39 +00:00
Adjust offset immediately after 'first', 'last', and 'pos'
seq 100 | fzf --multi --sync --bind 'result:last+transform:for _ in $(seq 10); do echo -n "+select+down"; done'
This commit is contained in:
parent
e1fcdbc337
commit
035b0be29f
@ -4301,9 +4301,11 @@ func (t *Terminal) Loop() error {
|
||||
}
|
||||
case actFirst:
|
||||
t.vset(0)
|
||||
t.constrain()
|
||||
req(reqList)
|
||||
case actLast:
|
||||
t.vset(t.merger.Length() - 1)
|
||||
t.constrain()
|
||||
req(reqList)
|
||||
case actPosition:
|
||||
if n, e := strconv.Atoi(a.a); e == nil {
|
||||
@ -4313,6 +4315,7 @@ func (t *Terminal) Loop() error {
|
||||
n += t.merger.Length()
|
||||
}
|
||||
t.vset(n)
|
||||
t.constrain()
|
||||
req(reqList)
|
||||
}
|
||||
case actPut:
|
||||
|
Loading…
Reference in New Issue
Block a user