aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hexes.html13
-rw-r--r--info.html6
-rw-r--r--ios.html6
3 files changed, 15 insertions, 10 deletions
diff --git a/hexes.html b/hexes.html
index bd9be72..f9d2844 100644
--- a/hexes.html
+++ b/hexes.html
@@ -18,7 +18,6 @@
<li><a href="#enum-keypress">Enum <code>Keypress</code></a> - Keys that can be returned by <code>Term::read</code>.</li>
<li><a href="#implementation-for-term">Implementation <code>for Term</code></a></li>
<li><a href="#implementation-of-drop-for-term">Implementation <code>of Drop for Term</code></a></li>
-<li><a href="#function-term">Function <code>Term</code></a> - Creates a new <code>Term</code> instance.</li>
</ul>
</div>
@@ -48,6 +47,12 @@
</div>
<div class="section level2" id="implementation-for-term">
<h2>Implementation for <code>Term</code></h2>
+<div class="section level3" id="method-new">
+<h3>Method <code>new</code></h3>
+<pre><code>fn new() -&gt; Term</code></pre>
+<p>Creates a new <code>Term</code> instance.</p>
+<p>This can be used to manipulate the terminal for full screen applications.</p>
+</div>
<div class="section level3" id="method-clear">
<h3>Method <code>clear</code></h3>
<pre><code>fn clear(&amp;mut self)</code></pre>
@@ -137,11 +142,5 @@
<pre><code>fn finalize(&amp;self)</code></pre>
</div>
</div>
-<div class="section level2" id="function-term">
-<h2>Function <code>Term</code></h2>
-<pre><code>fn Term() -&gt; Term</code></pre>
-<p>Creates a new <code>Term</code> instance.</p>
-<p>This can be used to manipulate the terminal for full screen applications.</p>
-</div>
</body>
</html>
diff --git a/info.html b/info.html
index 64d9f2b..7a5ed22 100644
--- a/info.html
+++ b/info.html
@@ -146,18 +146,18 @@
</div>
<div class="section level2" id="function-escape">
<h2>Function <code>escape</code></h2>
-<pre><code>fn escape(name: &amp;str) -&gt; ~str</code></pre>
+<pre><code>fn escape(name: &amp;str) -&gt; Option&lt;~str&gt;</code></pre>
<p>The terminal escape corresponding to the <code>name</code> terminfo capability.</p>
</div>
<div class="section level2" id="function-escape1">
<h2>Function <code>escape1</code></h2>
-<pre><code>fn escape1(name: &amp;str, p1: int) -&gt; ~str</code></pre>
+<pre><code>fn escape1(name: &amp;str, p1: int) -&gt; Option&lt;~str&gt;</code></pre>
<p>The terminal escape corresponding to the <code>name</code> terminfo capability.</p>
<p>This capability must take one parameter, which should be passed as <code>p1</code>.</p>
</div>
<div class="section level2" id="function-escape2">
<h2>Function <code>escape2</code></h2>
-<pre><code>fn escape2(name: &amp;str, p1: int, p2: int) -&gt; ~str</code></pre>
+<pre><code>fn escape2(name: &amp;str, p1: int, p2: int) -&gt; Option&lt;~str&gt;</code></pre>
<p>The terminal escape corresponding to the <code>name</code> terminfo capability.</p>
<p>This capability must take two parameters, which should be passed as <code>p1</code> and <code>p2</code>.</p>
</div>
diff --git a/ios.html b/ios.html
index 660e89f..45f98ad 100644
--- a/ios.html
+++ b/ios.html
@@ -20,6 +20,7 @@
<li><a href="#function-echo">Function <code>echo</code></a> - Change the echo mode of the terminal.</li>
<li><a href="#function-preserve">Function <code>preserve</code></a> - Run a block of code, restoring the terminal state when the block ends.</li>
<li><a href="#function-raw">Function <code>raw</code></a> - Put the terminal into raw mode.</li>
+<li><a href="#function-size">Function <code>size</code></a> - Returns the size of the terminal, as <code>(columns, rows)</code>.</li>
</ul>
</div>
@@ -53,5 +54,10 @@
<p>Put the terminal into raw mode.</p>
<p>This is like cbreak mode, except that control characters (like ^C) are not translated into signals.</p>
</div>
+<div class="section level2" id="function-size">
+<h2>Function <code>size</code></h2>
+<pre><code>fn size() -&gt; (uint, uint)</code></pre>
+<p>Returns the size of the terminal, as <code>(columns, rows)</code>.</p>
+</div>
</body>
</html>