mirror of
https://github.com/peco/peco.git
synced 2026-09-10 07:16:29 -04:00
Fix showing current index
This commit is contained in:
parent
2101415c1d
commit
68b862b182
2
view.go
2
view.go
|
|
@ -184,7 +184,7 @@ CALCULATE_PAGE:
|
|||
}
|
||||
}
|
||||
|
||||
pmsg := fmt.Sprintf("%s [%d/%d]", v.Ctx.Matcher().String(), currentPage, maxPage)
|
||||
pmsg := fmt.Sprintf("%s [%d/%d]", v.Ctx.Matcher().String(), currentPage.index, maxPage)
|
||||
|
||||
printTB(width-runewidth.StringWidth(pmsg), 0, termbox.ColorDefault, termbox.ColorDefault, pmsg)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue