1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-06-06 20:20:43 +00: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( ' ') ;
if( n == term.t_nrow - 1)
n = 3 + vtputs( PROGRAM_NAME_LONG " " VERSION ": ") ;
else
n = 3 ;
n += vtputs( PROGRAM_NAME_LONG " " VERSION ": ") ;
n += vtputs( bp->b_bname) ;
n += vtputs( " (") ;