• Deucе's avatar
    Ok, that last one was wrong... sue me. · 33a37c0a
    Deucе authored
    So here's what we're doing now... we set bar so that the first item
    shown in the menu is the lowest index possible that still shows cur.
    bar is therefore calculated as the displayed item count minus the
    distance from cur to the end of the list.
    Yeah, that's the easiest way to explain it.