putscreen -- draw a rectangle of characters into the text terminal
*** requires ncurses support compiled in ***
See Documentation/Advanced for info.
The putscreen-command is the counterpart of the getscreen$-function. putscreen requires a string as returned by the getscreen-function. Such a string contains a rectangular detail from the terminal; the putscreen-function puts such a region back into the terminal-window.
Note, that clear screen must have been called before.
for a=1 to 200
print color("red") "Hallo!"
print color("blue") "Welt!"
for x=0 to 60
This example prints the string "Hallo!Welt!" all over the screen and then moves a rectangle from one side to the other.
Start this program in a terminal.
getscreen$, clear screen