1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-18 23:36:23 -05:00

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

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( " (") ;