Only display program name and version on the bottom mode line.

This commit is contained in:
Renaud 2015-04-19 11:59:31 +08:00
parent 4ac1913cd1
commit 267c218b9b
1 changed files with 5 additions and 2 deletions

View File

@ -1160,9 +1160,12 @@ static void modeline(struct window *wp)
vtputc(lchar);
vtputc( ' ') ;
n = 3 ;
n += vtputs( PROGRAM_NAME_LONG " " VERSION ": ") ;
if( n == term.t_nrow - 1)
n = 3 + vtputs( PROGRAM_NAME_LONG " " VERSION ": ") ;
else
n = 3 ;
n += vtputs( bp->b_bname) ;
n += vtputs( " (") ;