of the registered alternatives for a specific name
* Updated the deb-control(5) man page with all the current fields
and uses
+ * Made the large info screen show 5 lines of the pkglist so that
+ it scrolled properly, and still showed the cursor
Thu Oct 14 04:51:14 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
of the registered alternatives for a specific name
* Updated the deb-control(5) man page with all the current fields
and uses
+ * Made the large info screen show 5 lines of the pkglist so that
+ it scrolled properly, and still showed the cursor
-- Wichert Akkerman <wakkerma@debian.org> Sat, 16 Oct 1999 12:20:10 -0400
cursorline= index;
if (listpad) {
redrawitemsrange(cursorline,cursorline+1);
- redraw1itemsel(cursorline, showinfo != 2);
+ redraw1itemsel(cursorline,1);
refreshlist();
redrawthisstate();
}
void baselist::setheights() {
int y= ymax - (title_height + colheads_height + thisstate_height);
assert(y>=1);
- if (showinfo==2 && y>=3) {
- list_height= 1;
+ if (showinfo==2 && y>=7) {
+ list_height= 5;
whatinfo_height= 1;
- info_height= y-2;
+ info_height= y-6;
} else if (showinfo==1 && y>=10) {
list_height= y/2;
info_height= (y-1)/2;
}
void baselist::redraw1item(int index) {
- redraw1itemsel(index, showinfo == 2 ? 0 : index == cursorline);
+ redraw1itemsel(index, index == cursorline);
}
baselist::baselist(keybindings *kb) {