diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-04-13 13:59:18 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-04-13 13:59:18 -0500 |
commit | 8ecc40900ffd8c6dab0d8c6fdc36eb28f1df8904 (patch) | |
tree | 512825b7c9783f2b66804fa2ecd036ec3ad45566 | |
parent | e7bb35dc9f07d6027b98fe31629d1ceec5893480 (diff) | |
download | rust-term-8ecc40900ffd8c6dab0d8c6fdc36eb28f1df8904.tar.gz rust-term-8ecc40900ffd8c6dab0d8c6fdc36eb28f1df8904.zip |
regenerate docsgh-pages
-rw-r--r-- | hexes.html | 13 | ||||
-rw-r--r-- | info.html | 6 | ||||
-rw-r--r-- | ios.html | 6 |
3 files changed, 15 insertions, 10 deletions
@@ -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() -> 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(&mut self)</code></pre> @@ -137,11 +142,5 @@ <pre><code>fn finalize(&self)</code></pre> </div> </div> -<div class="section level2" id="function-term"> -<h2>Function <code>Term</code></h2> -<pre><code>fn Term() -> 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> @@ -146,18 +146,18 @@ </div> <div class="section level2" id="function-escape"> <h2>Function <code>escape</code></h2> -<pre><code>fn escape(name: &str) -> ~str</code></pre> +<pre><code>fn escape(name: &str) -> Option<~str></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: &str, p1: int) -> ~str</code></pre> +<pre><code>fn escape1(name: &str, p1: int) -> Option<~str></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: &str, p1: int, p2: int) -> ~str</code></pre> +<pre><code>fn escape2(name: &str, p1: int, p2: int) -> Option<~str></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> @@ -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() -> (uint, uint)</code></pre> +<p>Returns the size of the terminal, as <code>(columns, rows)</code>.</p> +</div> </body> </html> |