#
# @(#)overlay	3.2 (SVVS) 12/30/86
#
# tabs: overlay
#
abstract("tabs: overlay");
start
	mainw = newwin(LINES,COLS,0,0);

	#
	# Succesively overwrite more and more of the screen.
	#
	testing("overlay a window with a tab on a filled window");
	start
	for ( i = 1 ; i <= LINES ; i++ )
	{
		wmove(mainw,0,0);
		wbarber(mainw,LINES,COLS,'a');
		wrefresh(mainw);
		eraser = newwin(i,i,0,0);
		wprintw(eraser,"\t");
		overlay(eraser,mainw);
		wrefresh(mainw);
		delwin(eraser);
		expect();
	}
	finis
finis
