slang-users mailing list

[2001 Date Index] [2001 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

need help with s-lang


Hello

I print some characters at the end of the screen so : (SLsmg_gotorc(SLtt_Screen_Cols-1, 0)).
for (i = 0; i <= 10; i++)
SLsmg_printf("h");
Lsmg_refresh();

Then i remove the first line of the screen: 
SLsmg_gotorc(0, 0); SLsmg_refresh();
SLtt_delete_nlines(1); SLsmg_refresh();

That scrolls the screen one line up.

Now the problem:

When i write 
(SLsmg_gotorc(SLtt_Screen_Cols-1, 0)).
for (i = 0; i <= 10; i++)
SLsmg_printf("h");
Lsmg_refresh();
now again, i don't get any characters in the last line of the screen.

what i want to to:

printing x characters (rand()) each line (scrolling up).

please help me


______________________________________________________
http://firemail.fireball.de - Ihr Briefkasten im Web. 
Einfach, schnell, sicher.


[2001 date index] [2001 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]