plan 9 kernel history: overview | file list | diff list

2000/1102/alphapc/vga.c (diff list | history)

2000/0407/sys/src/9/alphapc/vga.c:92,1002000/1102/sys/src/9/alphapc/vga.c:92,103 (short | long | prev | next)
1999/0415    
	case '\t': 
		p = memsubfontwidth(scr->memdefont, " "); 
		w = p.x; 
		*xp++ = curpos.x; 
2000/1102    
		if(curpos.x >= window.max.x-4*w) 
			vgascreenputc(scr, "\n", flushr); 
 
1999/0415    
		pos = (curpos.x-window.min.x)/w; 
		pos = 4-(pos%4); 
2000/1102    
		*xp++ = curpos.x; 
1999/0415    
		r = Rect(curpos.x, curpos.y, curpos.x+pos*w, curpos.y+h); 
2000/0401    
		memimagedraw(scr->gscreen, r, back, back->r.min, nil, ZP); 
		combinerect(flushr, r); 
2000/0407/sys/src/9/alphapc/vga.c:109,1142000/1102/sys/src/9/alphapc/vga.c:112,120
2000/0401    
		memimagedraw(scr->gscreen, r, back, back->r.min, nil, ZP); 
		combinerect(flushr, r); 
1999/0415    
		curpos.x = *xp; 
2000/1102    
		break; 
 
	case '\0': 
1999/0415    
		break; 
 
	default: 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)