EVOLUTION-MANAGER
Edit File: vt_output.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Simulate (a subset of) a VT-5xx ANSI terminal</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for vt_output {cli}"><tr><td>vt_output {cli}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Simulate (a subset of) a VT-5xx ANSI terminal</h2> <h3>Description</h3> <p>This is utility function that calculates the state of a VT-5xx screen after a certain set of output. </p> <h3>Usage</h3> <pre> vt_output(output, width = 80L, height = 25L) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>output</code></td> <td> <p>Character vector or raw vector. Character vectors are collapsed (without a separater), and converted to a raw vector using <code><a href="../../base/html/rawConversion.html">base::charToRaw()</a></code>.</p> </td></tr> <tr valign="top"><td><code>width</code></td> <td> <p>Terminal width.</p> </td></tr> <tr valign="top"><td><code>height</code></td> <td> <p>Terminal height.</p> </td></tr> </table> <h3>Details</h3> <p>Currently it supports: </p> <ul> <li><p> configurable terminal width and height </p> </li> <li><p> ASCII printable characters. </p> </li> <li> <p><code style="white-space: pre;">\n</code>, <code style="white-space: pre;">\r</code>. </p> </li> <li><p> ANSI SGR colors, 8 color mode, 256 color mode and true color mode. </p> </li> <li><p> Other ANSI SGR features: bold, italic, underline, strikethrough, blink, inverse. </p> </li></ul> <p>It does <em>not</em> currently supports other features, mode notably: </p> <ul> <li><p> Other ANSI control sequences and features. Other control sequences are silently ignored. </p> </li> <li><p> Wide Unicode characters. Their width is not taken into account correctly. </p> </li> <li><p> Unicode graphemes. </p> </li></ul> <h3>Value</h3> <p>Data frame with columns <code>lineno</code>, <code>segmentno</code>, <code>segment</code>, <code>attributes</code>. </p> <h3>Note</h3> <p>This function is experimental, and the virtual temrinal API will likely change in future versions of cli. </p> <hr /><div style="text-align: center;">[Package <em>cli</em> version 3.4.1 <a href="00Index.html">Index</a>]</div> </body></html>