mirror of
https://github.com/peco/peco.git
synced 2026-09-10 07:16:29 -04:00
Merge pull request #257 from peco/fix-not-highlighting-issue
Fix not highlighting issue
This commit is contained in:
commit
ec38f98067
|
|
@ -223,11 +223,13 @@ func doSelectAll(i *Input, _ termbox.Event) {
|
|||
b := i.GetCurrentLineBuffer()
|
||||
for x := 0; x < b.Size(); x++ {
|
||||
if l, err := b.LineAt(x); err == nil {
|
||||
l.SetDirty(true)
|
||||
i.selection.Add(l)
|
||||
} else {
|
||||
i.selection.Remove(l)
|
||||
}
|
||||
}
|
||||
i.SendDraw()
|
||||
}
|
||||
|
||||
func doSelectVisible(i *Input, _ termbox.Event) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue