From: Eric S. Raymond Date: Fri, 11 Jun 1993 23:57:39 +0000 (+0000) Subject: Improved cursor placement for prompt. X-Git-Tag: 1.6~8 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=0f874f8ac04851d02bc9bee15659dabb0136f1d6;p=vh.git Improved cursor placement for prompt. --- diff --git a/browse.c b/browse.c index 2385700..e9ea078 100644 --- a/browse.c +++ b/browse.c @@ -1273,7 +1273,7 @@ linefwd: } } - move(LINES - 1, 0); + move(LINES - 1, (entrycnt != 0) * strlen(prompt) + entrycnt); cf->dsptoppos = cf->toppos;