1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-19 15:33:56 +00:00

Don't scroll of the end of the help pages when using the visual

option in for "boot -c".

PR:		17539
Submitted by:	Edwin.Groothuis@cgmd76206.chello.nl
This commit is contained in:
David Malone 2000-11-26 23:39:46 +00:00
parent 07a9238fc1
commit 373134cc60
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69236

View File

@ -1976,13 +1976,12 @@ static void
helpscreen(void)
{
int topline = 0; /* where we are in the text */
int line = 0; /* last line we displayed */
int c, delta = 1;
char prompt[80];
for (;;) /* loop until user quits */
{
int line = 0;
/* display help text */
if (delta)
{