Stuff
This commit is contained in:
@@ -229,7 +229,7 @@ func (w *Searcher) oldDraw(screen tcell.Screen) {
|
||||
if w.cursor+w.h/2 > fD {
|
||||
stIdx = fD - w.h/2
|
||||
}
|
||||
stIdx = wh.Max(stIdx, 0)
|
||||
stIdx = wh.Max(0, wh.Min(stIdx, len(w.filteredData)-(w.h-3)))
|
||||
for i := stIdx; i < fD; i++ {
|
||||
st := dStyle
|
||||
if i == w.cursor {
|
||||
|
||||
Reference in New Issue
Block a user