<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.computercraft.info/wiki/index.php?action=history&amp;feed=atom&amp;title=Key_up_%28event%29</id>
		<title>Key up (event) - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.computercraft.info/wiki/index.php?action=history&amp;feed=atom&amp;title=Key_up_%28event%29"/>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Key_up_(event)&amp;action=history"/>
		<updated>2026-07-11T11:14:13Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Key_up_(event)&amp;diff=7067&amp;oldid=prev</id>
		<title>MKlegoman357: Created page with &quot;{{Lowercase}} {{Event |name=key_up |desc=Fired when any key except Escape is released while the terminal is focused. |return1=The numerical key value of the key released }} {{...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Key_up_(event)&amp;diff=7067&amp;oldid=prev"/>
				<updated>2015-06-28T11:31:09Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Lowercase}} {{Event |name=key_up |desc=Fired when any key except Escape is released while the terminal is focused. |return1=The numerical key value of the key released }} {{...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Lowercase}}&lt;br /&gt;
{{Event&lt;br /&gt;
|name=key_up&lt;br /&gt;
|desc=Fired when any key except Escape is released while the terminal is focused.&lt;br /&gt;
|return1=The numerical key value of the key released&lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Print each key released on the keyboard whenever a ''&amp;quot;key_up&amp;quot;'' event is fired. Use Ctrl+T (Windows)&amp;lt;!--- or ???+T (Mac)---&amp;gt; to terminate the loop.&lt;br /&gt;
|code=&lt;br /&gt;
 while true do&lt;br /&gt;
   local event, key = '''[[os.pullEvent]](&amp;quot;key_up&amp;quot;)'''&lt;br /&gt;
   &lt;br /&gt;
   [[print]]( [[keys.getName]]( key ), &amp;quot; was released.&amp;quot; )&lt;br /&gt;
 end&lt;br /&gt;
|output=Any key that is released.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Key scan codes ==&lt;br /&gt;
These scan codes are also available as constants in the [[Keys (API)|keys API]], and can be translated from numerical codes to strings using [[keys.getName]].&lt;br /&gt;
&lt;br /&gt;
[[File:CC-Keyboard-Charcodes.png|center|frame|250x250px|Click for a larger copy of this image - contains keys and their event numbers.]]&lt;/div&gt;</summary>
		<author><name>MKlegoman357</name></author>	</entry>

	</feed>