Searched refs:topoff (Results 1 – 1 of 1) sorted by relevance
1176 int i, lines, topoff = 0, done = 0; in top_common() local1344 for (i = 0; i<lines && i+topoff<mix.count; i++) { in top_common()1346 show_ps(mix.tb[i+topoff]); in top_common()1381 if (i == KEY_UP) topoff--; in top_common()1382 else if (i == KEY_DOWN) topoff++; in top_common()1383 else if (i == KEY_PGDN) topoff += lines; in top_common()1384 else if (i == KEY_PGUP) topoff -= lines; in top_common()1385 if (topoff<0) topoff = 0; in top_common()1386 if (topoff>mix.count) topoff = mix.count; in top_common()