View difference between Paste ID: MTbVDLth and RhksVNT6
SHOW: | | - or go back to the newest paste.
1
int anz=-1;
2
3
char putchar(char chc) 
4
{
5-
    int anz = 0; 
5+
6
	anz++;
7
8
    if(chc = '\n')
9
	{
10
	    
11
	}   
12
	
13
	if(chc == '\t')
14-
        if(anz == 0 && anz <= lines[2])
14+
15-
		{
15+
       Cursor_GoToXY();	
16-
		    Cursor_GoToXY(1,anz);
16+
17-
		}
17+
18-
 
18+
19-
        if(anz >= lines[1] && anz <= lines[3])
19+
20-
		{
20+
21-
		    Cursor_GoToXY(2,anz);
21+
22-
		}
22+
23
24-
	    if(anz >= lines[2] && anz <= 27)
24+
25-
		{
25+
26-
		    Cursor_GoToXY(3,anz);
26+