<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.computercraft.info/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kazagistar</id>
		<title>ComputerCraft Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.computercraft.info/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kazagistar"/>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/Special:Contributions/Kazagistar"/>
		<updated>2026-07-11T07:41:12Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Term_(API)&amp;diff=4121</id>
		<title>Term (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Term_(API)&amp;diff=4121"/>
				<updated>2012-11-28T22:41:34Z</updated>
		
		<summary type="html">&lt;p&gt;Kazagistar: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Terminal API provides functions for writing text to the terminal and monitors, and drawing ASCII graphics.&lt;br /&gt;
&lt;br /&gt;
Methods in ''italics'' are available only to [[Advanced Computer|Advanced Computers]] and [[Advanced Monitor|Advanced Monitors]].&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|[[term.write]](text)&lt;br /&gt;
|Writes text to the screen.&lt;br /&gt;
|-&lt;br /&gt;
|[[term.clear]]()&lt;br /&gt;
|Clears the entire screen&lt;br /&gt;
|-&lt;br /&gt;
|[[term.clearLine]]()&lt;br /&gt;
|Clears the line the cursor is on&lt;br /&gt;
|-&lt;br /&gt;
|[[term.getCursorPos]]()&lt;br /&gt;
|Returns two arguments containing the x and the y position of the cursor.&lt;br /&gt;
|-&lt;br /&gt;
|[[term.setCursorPos]](x, y)&lt;br /&gt;
|Sets the cursor's position.&lt;br /&gt;
|-&lt;br /&gt;
|[[term.setCursorBlink]](bool)&lt;br /&gt;
|Disables the blinking or turns it on.&lt;br /&gt;
|-&lt;br /&gt;
|[[term.isColor]]()&lt;br /&gt;
|Returns if the computer supports color. (Used to determine whether or not an advanced computer is being used)&lt;br /&gt;
|-&lt;br /&gt;
|[[term.getSize]]()&lt;br /&gt;
|Returns two arguments containing the x and the y values stating the size of the screen. (Good for if you're making something to be compatible with both [[Turtles]] and [[Consoles]].)&lt;br /&gt;
|-&lt;br /&gt;
|[[term.scroll]](n)&lt;br /&gt;
|Scrolls the terminal ''n'' lines.&lt;br /&gt;
|-&lt;br /&gt;
|[[term.redirect]](target)&lt;br /&gt;
|Redirects terminal output to a monitor or other redirect target. (Use [[peripheral.wrap]] to acquire a monitor &amp;quot;object&amp;quot;.)&lt;br /&gt;
|-&lt;br /&gt;
|[[term.restore]]()&lt;br /&gt;
|Restores terminal output to the previous target.&lt;br /&gt;
|-&lt;br /&gt;
|''[[term.setTextColor]]([[Colors (API)|color]])''&lt;br /&gt;
|Sets the text-color of the terminal. Available only to [[Advanced Computer|Advanced Computers]] and [[Advanced Monitor|Advanced Monitors]].&lt;br /&gt;
|-&lt;br /&gt;
|''[[term.setBackgroundColor]]([[Colors (API)#Colors|color]])''&lt;br /&gt;
|Sets the background color of the terminal. Available only to [[Advanced Computer|Advanced Computers]] and [[Advanced Monitor|Advanced Monitors]].&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Kazagistar</name></author>	</entry>

	</feed>