Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2006/0128/8

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Handle not having graphics better.
 [rsc] --rw-rw-r-- M 1428987 rsc sys 6066 Jan 28 09:54 sys/src/cmd/aux/statusbar.c
	/n/sourcesdump/2006/0128/plan9/sys/src/cmd/aux/statusbar.c:200,211 - 
	/n/sourcesdump/2006/0129/plan9/sys/src/cmd/aux/statusbar.c:200,214
	  		textmode = 1;
	  		rbar = Rect(0, 0, 60, 1);
	  	}else{
	- 		initdraw(0, 0, "bar");
	+ 		if(initdraw(0, 0, "bar") < 0)
	+ 			exits("initdraw");
	  		initcolor();
	  		einit(Emouse|Ekeyboard);
	  		eresized(0);
	  	}
	  	bar(&b);
	+ 
	+ 	exits(0);
	  }
	  
	  


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].