mirror of
https://github.com/elua/elua.git
synced 2025-01-08 20:56:17 +08:00
80513aaf52
SConstruct edited just to leave group/files definitions close to the platform/groups. Doc content files mirroed to pt, to ease the portuguese version initial migration
60 lines
2.1 KiB
HTML
60 lines
2.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
|
|
<html><head>
|
|
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
|
|
<meta http-equiv="Content-Language" content="en-us"><title>Product</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="../style.css">
|
|
</head>
|
|
<body style="background-color: rgb(255, 255, 255);">
|
|
<h3><a name="over">term</a></h3>
|
|
Terminal support
|
|
<p> <a name="clear"></a>[term.clear]
|
|
term.clrscr(): clear the screen </p>
|
|
<p> <br>
|
|
<a name="cleareol"></a>[term.cleareol]
|
|
term.clreol(): clear from the current cursor position to the end of the
|
|
line </p>
|
|
<p> </p>
|
|
<p><a name="moveto"></a> [term.moveto]
|
|
term.gotoxy( x, y ): position the cursor at the given coordinates<br>
|
|
</p>
|
|
<br>
|
|
<p><a name="moveup"></a> [term.moveup]
|
|
term.up( delta ): move the cursor up "delta" lines </p>
|
|
<p> </p>
|
|
<p><a name="movedown"></a> [term.movedown]
|
|
term.down( delta ): move the cursor down "delta" lines </p>
|
|
<p> </p>
|
|
<p><a name="moveleft"></a> [term.moveleft]
|
|
term.left( delta ): move the cursor left "delta" lines </p>
|
|
<p> <br>
|
|
<a name="moveright"></a>[term.moveright] term.right(
|
|
delta ): move the cursor right "delta" lines </p>
|
|
<p> </p>
|
|
<p><a name="getlinecount"></a>
|
|
[term.getlinecount] Lines = term.lines(): returns the number of lines </p>
|
|
<p> </p>
|
|
<p><a name="getcolcount"></a>
|
|
[term.getcolcount] Cols = term.cols(): returns the number of columns </p>
|
|
<p> </p>
|
|
<br>
|
|
<p><a name="printstr"></a> [term.printstr]
|
|
term.putstr( s1, s2, ... ): writes the specified string(s) to the
|
|
terminal<br>
|
|
</p>
|
|
<p> </p>
|
|
<p> [term.printchar] term.put( c1, c2, ... ): writes the
|
|
specified character(s) to the terminal </p>
|
|
<p> </p>
|
|
<p><a name="getx"></a> [term.getx] Cx =
|
|
term.cursorx(): return the cursor X position </p>
|
|
<p> </p>
|
|
<p> <a name="gety"></a>[term.gety] Cy =
|
|
term.cursory(): return the cursor Y position </p>
|
|
<p> </p>
|
|
<p> <font size="2"><a name="inputchar"></a>[term.inputchar]
|
|
c = term.getch( term.WAIT | term.NOWAIT ): returns a char read from the
|
|
</font> </p>
|
|
<font size="2"> terminal.</font>
|
|
<br style="font-family: Verdana;">
|
|
</body></html> |