xonecas.io
70160
Ce

cel-tui / commit 7a07319

docs: regenerate API docs from latest main (0.1.0)

xonecas2026-04-04 7a07319800db4d6705ea1de1479556f2ff0ced73 parent 3f42b8f

67 files changed

This diff is too big to show in full. The first 1000 lines are below, and every file is listed with its counts.

docs/html/assets/hierarchy.js+1−1
@@ -1 +1 @@
1-window.hierarchyData = "eJydkMFqAjEQQP9lztG6o6ndXD31UBDam0gJ2RGD2WTJRKjI/nvZbqvRUnR7ySGZl/eYI8QQEoNaFRMxFYjlWkCkjSOTbPAM6gjT7vC6JlDwmg6OljE0DAJ21legUD4K2EcHCqxPFDfaED+kQ0P8ztGMz8h4m2oHAozTzKAgcTXq/hiduO5xa10VyYNazeZCynUroJhkCYvgk7ae4rCMS2xoSt8xm2cdb/SRhiWciDvsrQApr2zPvtn/Q3nG7vMilhfiWFuv3Q2lCZG+jf380A1jWQiU2K0ZJWYByxgMMf/qKPDpp+PLkUdcMX+29Bedsiwy5Uswu0G+HLgla9tPpjgp6w=="
1+window.hierarchyData = "eJydkEFrwjAUgP/LO0dnU1raXHfyMBDmTWSU9InBNCnvRVCk/31kbhodQ7tLDsn78n28E5D3gUGtciHzci2AcGNRB+MdgzpBHg/XdAgK3sPR4oJ8zyBgZ1wLShalgD1ZUGBcQNo0GvklHHvkDyY9vSLTbegsCNC2YQYFgdtJ/GNy4eLj1tiW0IFaZTNR5OtBQDZLEl69C41xSOMybrGxKWUWO4p0FUs8hHEJF+IJ+yCgzO5sc9fv/6G8Ys95ZV7eiKkzrrEPlNoTfhvP82M3LOtKyKKOa5ZFnQQsyGtk/tWRyeqn48uRRtwxf7acL6KyrhLlm9e7Ub4UeCQbhk+Q4Clh"
docs/html/assets/search.js+1−1
@@ -1 +1 @@
1-window.searchData = "eJy9XW2P4zYO/i/er+40fo/n23WvhxZt7wq06OEwWCyyiWfHtxkncJx9ucH+94Mo2aZoyqYdt592IeoRaekRxZAe68WrT58u3v3Di/ehrA7efeh71e658O69/en5fKqKqrl8e6n3nu9d66N37z2fDtdjcfm2F7+91Pu7p+b56Pne/ri7XIqLd+95X/1uzCTtRv3u2jSn6tf6dL50Q5ZVU9SPu/1wVNSb0eB7511dVM3Q2F53sAnjTvm7969Px1O9QPGrd+/3BioxAOOdxpyOh0WWaNxaZjwun5PH1efk8bS/XnbvjsUicxB4LYNO1etjuf+wxJxTtTfQG4zBW+fv5cfyUNTSvYO7r7F59k+7eonaVwYomgXrGW9m7NCWmZR1mJP2xuhl62x5vFb7pjxVDnosXAekz1g0rdB0vF3jb+fdXqJQ91uoDx87deE4cOpi8qgJwm030uviePzu+viIjDeYfqy+z5T …
1+window.searchData = "eJy9XV2P47ix/S+aV22v9W31293JBlkkuVlgFxtcNAYDjy13644tG7bcM5PG/PeARUoqlopSSVby1s3iYRWpwyqySEtv3uX05eo9Pr15n8tq5z2GvldtjoX36G1Px/OpKqr6+uP1svV873Y5eI/e8bS7HYrrj5344/WyfXipjwfP97aHzfVaXL1Hz/vut20madvqT7e6PlW/Xk7na9tkWdXFZb/Z9ltFtRkNvnfeXIqq7hvb6Q5WYdwq//T8/nQ4XWYofvfpeWugEgMw3mnM6bCbZYnGLWXGfv6Y7Bcfk/1pe7tuPh2KWeYg8FIGnar3h3L7eY45p2proHcYg6fOn8rXcldcpHMHV19i8mxfNpc5at8ZoGgUrD7ezdi+LRMp6zAn7YzRj621ZX+rtnV5qhz0mPkckD5j0bhCU/F+jb+dN1uJQl1vpj4cdi6FI+BcitFQE4TrtqX3xeHw022/R8YbTNdWV2f …
docs/html/classes/core_src.CellBuffer.html+11−11
@@ -6,7 +6,7 @@ previous one to produce minimal terminal updates.</p>
66 <p>Empty cells (matching <a href="../variables/core_src.EMPTY_CELL.html" class="tsd-kind-variable">EMPTY_CELL</a>) are considered transparent
77 for layer compositing — higher layers overwrite lower layers only
88 where they have non-empty content.</p>
9-</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/cell-buffer.ts#L61">core/src/cell-buffer.ts:61</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" …
9+</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/cell-buffer.ts#L61">core/src/cell-buffer.ts:61</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" …
1010 </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Accessors</h3><div class="tsd-index-list"><a href="#height" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>height</span></a>
1111 <a href="#width" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>width</span></a>
1212 </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#clear" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear</span></a>
@@ -19,28 +19,28 @@ where they have non-empty content.</p>
1919 </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor …
2020 </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">width</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Buffer width in columns.</p>
2121 </div></li><li><span><span class="tsd-kind-parameter">height</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Buffer height in rows.</p>
22-</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">CellBuffer</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/cell-buffer.ts#L72">core/src/cell-buffer.ts:72</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-s …
23-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/cell-buffer.ts#L85">core/src/cell-buffer.ts:85</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="width"><span>width</span><a href="#width" aria-label="Permalink" class="tsd-anchor-icon …
24-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/cell-buffer.ts#L80">core/src/cell-buffer.ts:80</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><s …
25-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/cell-buffer.ts#L118">core/src/cell-buffer.ts:118</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="diff"><span>diff</span><a href="#diff" aria-label="Permalink" class="tsd-anchor-icon">< …
22+</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">CellBuffer</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/cell-buffer.ts#L72">core/src/cell-buffer.ts:72</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-s …
23+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/cell-buffer.ts#L85">core/src/cell-buffer.ts:85</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="width"><span>width</span><a href="#width" aria-label="Permalink" class="tsd-anchor-icon …
24+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/cell-buffer.ts#L80">core/src/cell-buffer.ts:80</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><s …
25+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/cell-buffer.ts#L118">core/src/cell-buffer.ts:118</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="diff"><span>diff</span><a href="#diff" aria-label="Permalink" class="tsd-anchor-icon">< …
2626 Used for differential rendering — only changed cells need terminal updates.</p>
2727 </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">other</span>: <a href="" class="tsd-signature-type tsd-kind-class">CellBuffer</a></span><div class="tsd-comment tsd-typography"><p>The buffer to compare against.</p>
2828 </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">x</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">y</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span></h4 …
29-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/cell-buffer.ts#L177">core/src/cell-buffer.ts:177</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="fill"><span>fill</span><a href="#fill" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use> …
29+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/cell-buffer.ts#L177">core/src/cell-buffer.ts:177</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="fill"><span>fill</span><a href="#fill" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use> …
3030 Coordinates are clipped to buffer bounds.</p>
3131 </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Left column (inclusive).</p>
3232 </div></li><li><span><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Top row (inclusive).</p>
3333 </div></li><li><span><span class="tsd-kind-parameter">w</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Width in columns.</p>
3434 </div></li><li><span><span class="tsd-kind-parameter">h</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Height in rows.</p>
3535 </div></li><li><span><span class="tsd-kind-parameter">cell</span>: <a href="../interfaces/core_src.Cell.html" class="tsd-signature-type tsd-kind-interface">Cell</a></span><div class="tsd-comment tsd-typography"><p>Cell value to fill with.</p>
36-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/cell-buffer.ts#L132">core/src/cell-buffer.ts:132</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="get"><span>get</span><a href="#get" aria-label="Permalink" class="tsd-a …
36+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/cell-buffer.ts#L132">core/src/cell-buffer.ts:132</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="get"><span>get</span><a href="#get" aria-label="Permalink" class="tsd-a …
3737 Returns <a href="../variables/core_src.EMPTY_CELL.html" class="tsd-kind-variable">EMPTY_CELL</a> for out-of-bounds coordinates.</p>
38-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../interfaces/core_src.Cell.html" class="tsd-signature-type tsd-kind-interface">Cell</a></h4><aside class=" …
38+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../interfaces/core_src.Cell.html" class="tsd-signature-type tsd-kind-interface">Cell</a></h4><aside class=" …
3939 A cell is empty if it matches <a href="../variables/core_src.EMPTY_CELL.html" class="tsd-kind-variable">EMPTY_CELL</a> exactly.</p>
40-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://g …
40+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://g …
4141 New cells are initialized to <a href="../variables/core_src.EMPTY_CELL.html" class="tsd-kind-variable">EMPTY_CELL</a>.</p>
4242 </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">width</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>New width in columns.</p>
4343 </div></li><li><span><span class="tsd-kind-parameter">height</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>New height in rows.</p>
44-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/cell-buffer.ts#L151">core/src/cell-buffer.ts:151</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="set"><span>set</span><a href="#set" aria-label="Permalink" class="tsd-a …
44+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/cell-buffer.ts#L151">core/src/cell-buffer.ts:151</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="set"><span>set</span><a href="#set" aria-label="Permalink" class="tsd-a …
4545 Out-of-bounds writes are silently ignored.</p>
46-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">cell</span>: <a href="../interfaces/core_src.Cell.html" class="tsd-signature-type tsd-kind-interface">Cell</a></span></li> …
46+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">cell</span>: <a href="../interfaces/core_src.Cell.html" class="tsd-signature-type tsd-kind-interface">Cell</a></span></li> …
docs/html/classes/core_src.MockTerminal.html+13−13
@@ -1,7 +1,7 @@
11 <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>MockTerminal | cel-tui</title><meta name="description" content="Documentation for cel-tui"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icon …
22 <p>Captures all written output into a buffer and allows setting
33 fixed dimensions. No real I/O.</p>
4-</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/core_src.Terminal.html" class="tsd-signature-type tsd-kind-interface">Terminal</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L135">core/src/terminal.ts:135</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class=" …
4+</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/core_src.Terminal.html" class="tsd-signature-type tsd-kind-interface">Terminal</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L135">core/src/terminal.ts:135</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class=" …
55 </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#output" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>output</span></a>
66 </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Accessors</h3><div class="tsd-index-list"><a href="#columns" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>columns</span></a>
77 <a href="#rows" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>rows</span></a>
@@ -13,15 +13,15 @@ fixed dimensions. No real I/O.</p>
1313 <a href="#start" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>start</span></a>
1414 <a href="#stop" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>stop</span></a>
1515 <a href="#write" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>write</span></a>
16-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor …
17-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L137">core/src/terminal.ts:137</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg …
18-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><p>Implementation of Terminal.columns</p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L148">core/src/terminal.ts:148</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="rows"><span>rows</span><a href="#rows" aria-label= …
19-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><p>Implementation of Terminal.rows</p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L152">core/src/terminal.ts:152</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summ …
20-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L191">core/src/terminal.ts:191</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="hidecursor"><span>hide<wbr/>Cursor</span><a href="#hidecursor" aria-label="Permalink" class=" …
21-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/core_src.Terminal.html">Terminal</a>.<a href="../interfaces/core_src.Terminal.html#hidecursor">hideCursor</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L170">core/src/terminal.ts:170</a></li></ul></aside></div></li></ul></section><secti …
22-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L179">cor …
23-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">columns</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">rows</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="htt …
24-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/core_src.Terminal.html">Terminal</a>.<a href="../interfaces/core_src.Terminal.html#showcursor">showCursor</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L174">core/src/terminal.ts:174</a></li></ul></aside></div></li></ul></section><secti …
25-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">onInput</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span></span></li><li …
26-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/core_src.Terminal.html">Terminal</a>.<a href="../interfaces/core_src.Terminal.html#stop">stop</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L165">core/src/terminal.ts:165</a></li></ul></aside></div></li></ul></section><section class="ts …
27-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/core_src.Terminal.html">Terminal</a>.<a href="../interfaces/core_src.Terminal.html#write">write</a></p>< …
16+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor …
17+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L137">core/src/terminal.ts:137</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg …
18+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><p>Implementation of Terminal.columns</p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L148">core/src/terminal.ts:148</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="rows"><span>rows</span><a href="#rows" aria-label= …
19+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><p>Implementation of Terminal.rows</p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L152">core/src/terminal.ts:152</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summ …
20+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L191">core/src/terminal.ts:191</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="hidecursor"><span>hide<wbr/>Cursor</span><a href="#hidecursor" aria-label="Permalink" class=" …
21+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/core_src.Terminal.html">Terminal</a>.<a href="../interfaces/core_src.Terminal.html#hidecursor">hideCursor</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L170">core/src/terminal.ts:170</a></li></ul></aside></div></li></ul></section><secti …
22+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L179">cor …
23+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">columns</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">rows</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="htt …
24+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/core_src.Terminal.html">Terminal</a>.<a href="../interfaces/core_src.Terminal.html#showcursor">showCursor</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L174">core/src/terminal.ts:174</a></li></ul></aside></div></li></ul></section><secti …
25+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">onInput</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span></span></li><li …
26+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/core_src.Terminal.html">Terminal</a>.<a href="../interfaces/core_src.Terminal.html#stop">stop</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L165">core/src/terminal.ts:165</a></li></ul></aside></div></li></ul></section><section class="ts …
27+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/core_src.Terminal.html">Terminal</a>.<a href="../interfaces/core_src.Terminal.html#write">write</a></p>< …
docs/html/classes/core_src.ProcessTerminal.html+8−8
@@ -1,5 +1,5 @@
11 <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ProcessTerminal | cel-tui</title><meta name="description" content="Documentation for cel-tui"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/i …
2-</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/core_src.Terminal.html" class="tsd-signature-type tsd-kind-interface">Terminal</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L27">core/src/terminal.ts:27</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="ts …
2+</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/core_src.Terminal.html" class="tsd-signature-type tsd-kind-interface">Terminal</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L27">core/src/terminal.ts:27</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="ts …
33 </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Accessors</h3><div class="tsd-index-list"><a href="#columns" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>columns</span></a>
44 <a href="#rows" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>rows</span></a>
55 </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#hidecursor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>hide<wbr/>Cursor</span></a>
@@ -8,10 +8,10 @@
88 <a href="#stop" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>stop</span></a>
99 <a href="#write" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>write</span></a>
1010 </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor …
11-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><p>Implementation of Terminal.columns</p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L34">core/src/terminal.ts:34</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="rows"><span>rows</span><a href="#rows" aria-label="P …
12-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><p>Implementation of Terminal.rows</p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L38">core/src/terminal.ts:38</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summar …
13-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/core_src.Terminal.html">Terminal</a>.<a href="../interfaces/core_src.Terminal.html#hidecursor">hideCursor</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L120">core/src/terminal.ts:120</a></li></ul></aside></div></li></ul></section><secti …
14-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/core_src.Terminal.html">Terminal</a>.<a href="../interfaces/core_src.Terminal.html#showcursor">showCursor</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L124">core/src/terminal.ts:124</a></li></ul></aside></div></li></ul></section><secti …
15-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">onInput</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span></span></li><li …
16-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/core_src.Terminal.html">Terminal</a>.<a href="../interfaces/core_src.Terminal.html#stop">stop</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L85">core/src/terminal.ts:85</a></li></ul></aside></div></li></ul></section><section class="tsd- …
17-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/core_src.Terminal.html">Terminal</a>.<a href="../interfaces/core_src.Terminal.html#write">write</a></p>< …
11+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><p>Implementation of Terminal.columns</p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L34">core/src/terminal.ts:34</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="rows"><span>rows</span><a href="#rows" aria-label="P …
12+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><p>Implementation of Terminal.rows</p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L38">core/src/terminal.ts:38</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summar …
13+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/core_src.Terminal.html">Terminal</a>.<a href="../interfaces/core_src.Terminal.html#hidecursor">hideCursor</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L120">core/src/terminal.ts:120</a></li></ul></aside></div></li></ul></section><secti …
14+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/core_src.Terminal.html">Terminal</a>.<a href="../interfaces/core_src.Terminal.html#showcursor">showCursor</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L124">core/src/terminal.ts:124</a></li></ul></aside></div></li></ul></section><secti …
15+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">onInput</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span></span></li><li …
16+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/core_src.Terminal.html">Terminal</a>.<a href="../interfaces/core_src.Terminal.html#stop">stop</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L85">core/src/terminal.ts:85</a></li></ul></aside></div></li></ul></section><section class="tsd- …
17+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/core_src.Terminal.html">Terminal</a>.<a href="../interfaces/core_src.Terminal.html#write">write</a></p>< …
docs/html/functions/components_src.Button.html+1−1
@@ -11,4 +11,4 @@ activated with Enter.</p>
1111 </div><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example-1">Example<a href="#example-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-7">// Mouse-only button (not in Tab order)</span><br/><span class="hl-5">Button</span><span class="hl-1">(</span><span class="hl-3">&quot;✕&quot;</span><span class="hl-1">, { </span><span class="hl- …
1212 </code><button type="button">Copy</button></pre>
1313
14-</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/components/src/button.ts#L39">components/src/button.ts:39</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true …
14+</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/components/src/button.ts#L39">components/src/button.ts:39</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true …
docs/html/functions/components_src.Divider.html+1−1
@@ -6,4 +6,4 @@ using <code>Text</code> with <code>repeat: &quot;fill&quot;</code>.</p>
66 <div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example">Example<a href="#example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-7">// Default thin line</span><br/><span class="hl-5">Divider</span><span class="hl-1">()</span><br/><br/><span class="hl-7">// Thick line with color</span><br/><span cla …
77 </code><button type="button">Copy</button></pre>
88
9-</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/components/src/divider.ts#L34">components/src/divider.ts:34</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="tr …
9+</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/components/src/divider.ts#L34">components/src/divider.ts:34</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="tr …
docs/html/functions/components_src.Spacer.html+1−1
@@ -5,4 +5,4 @@ to push siblings apart, or inside a VStack for vertical spacing.</p>
55 <div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example">Example<a href="#example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-7">// Push items to opposite ends of a row</span><br/><span class="hl-5">HStack</span><span class="hl-1">({ </span><span class="hl-2">height:</span><span class="hl-1"> </ …
66 </code><button type="button">Copy</button></pre>
77
8-</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/components/src/spacer.ts#L20">components/src/spacer.ts:20</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true …
8+</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/components/src/spacer.ts#L20">components/src/spacer.ts:20</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true …
docs/html/functions/core_src.HStack.html+1−1
@@ -7,4 +7,4 @@ cross axis is vertical.</p>
77 <div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example">Example<a href="#example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-5">HStack</span><span class="hl-1">({ </span><span class="hl-2">height:</span><span class="hl-1"> </span><span class="hl-6">1</span><span class="hl-1">, </span><span clas …
88 </code><button type="button">Copy</button></pre>
99
10-</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/primitives/stacks.ts#L40">core/src/primitives/stacks.ts:40</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hi …
10+</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/primitives/stacks.ts#L40">core/src/primitives/stacks.ts:40</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hi …
docs/html/functions/core_src.Text.html+1−1
@@ -10,4 +10,4 @@ hard-clipped (no ellipsis).</p>
1010 <div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example">Example<a href="#example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-7">// Simple styled text</span><br/><span class="hl-5">Text</span><span class="hl-1">(</span><span class="hl-3">&quot;Hello&quot;</span><span class="hl-1">, { </span><spa …
1111 </code><button type="button">Copy</button></pre>
1212
13-</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/primitives/text.ts#L27">core/src/primitives/text.ts:27</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden …
13+</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/primitives/text.ts#L27">core/src/primitives/text.ts:27</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden …
docs/html/functions/core_src.TextInput.html+1−1
@@ -16,4 +16,4 @@ Modifier combos (e.g., <code>ctrl+s</code>) bubble up to ancestor <code>onKeyPre
1616 </div><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example-1">Example<a href="#example-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-7">// Growing input with max height</span><br/><span class="hl-5">TextInput</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-2">flex:</span><span class="hl-1"> </span …
1717 </code><button type="button">Copy</button></pre>
1818
19-</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/primitives/text-input.ts#L40">core/src/primitives/text-input.ts:40</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" …
19+</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/primitives/text-input.ts#L40">core/src/primitives/text-input.ts:40</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" …
docs/html/functions/core_src.VStack.html+1−1
@@ -7,4 +7,4 @@ cross axis is horizontal.</p>
77 <div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example">Example<a href="#example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-5">VStack</span><span class="hl-1">({ </span><span class="hl-2">flex:</span><span class="hl-1"> </span><span class="hl-6">1</span><span class="hl-1">, </span><span class= …
88 </code><button type="button">Copy</button></pre>
99
10-</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/primitives/stacks.ts#L19">core/src/primitives/stacks.ts:19</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hi …
10+</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/primitives/stacks.ts#L19">core/src/primitives/stacks.ts:19</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hi …
docs/html/functions/core_src.emitBuffer.html+1−1
@@ -6,4 +6,4 @@ for every cell. Output is wrapped in synchronized output markers
66 only emitting SGR codes when the style changes.</p>
77 </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">buf</span>: <a href="../classes/core_src.CellBuffer.html" class="tsd-signature-type tsd-kind-class">CellBuffer</a></span><div class="tsd-comment tsd-typography"><p>The cell buffer to render.</p>
88 </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>A complete ANSI string ready to write to the terminal.</p>
9-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/emitter.ts#L98">core/src/emitter.ts:98</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets …
9+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/emitter.ts#L98">core/src/emitter.ts:98</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets …
docs/html/functions/core_src.extractAnsiCode.html+1−1
@@ -1,4 +1,4 @@
11 <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>extractAnsiCode | cel-tui</title><meta name="description" content="Documentation for cel-tui"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/i …
22 Handles CSI (ESC [), OSC (ESC ]), and APC (ESC _) sequences.
33 Returns null if no escape sequence starts at <code>pos</code>.</p>
4-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">str</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">pos</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">code</span><span class="tsd-signatur …
4+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">str</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">pos</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">code</span><span class="tsd-signatur …
docs/html/functions/core_src.visibleWidth.html+1−1
@@ -3,4 +3,4 @@
33 ANSI escape sequences, and zero-width characters.</p>
44 </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">str</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The string to measure.</p>
55 </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>Width in terminal columns.</p>
6-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/width.ts#L133">core/src/width.ts:133</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/i …
6+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/width.ts#L133">core/src/width.ts:133</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/i …
docs/html/hierarchy.html+1−1
@@ -1 +1 @@
1-<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>cel-tui</title><meta name="description" content="Documentation for cel-tui"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"> …
1+<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>cel-tui</title><meta name="description" content="Documentation for cel-tui"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"> …
docs/html/index.html+4−3
@@ -8,7 +8,7 @@
88 <h2 id="why-cel" class="tsd-anchor-link">Why &quot;cel&quot;?<a href="#why-cel" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2>
99 <p>A <strong>cel</strong> is the smallest unit of a terminal display — a single character cell. Start from the smallest meaningful unit and build up, with nothing wasted.</p>
1010 <h2 id="quick-example" class="tsd-anchor-link">Quick Example<a href="#quick-example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2>
11-<pre><code class="ts"><span class="hl-0">import</span><span class="hl-1"> { </span><span class="hl-2">cel</span><span class="hl-1">, </span><span class="hl-2">VStack</span><span class="hl-1">, </span><span class="hl-2">Text</span><span class="hl-1">, </span><span class="hl-2">TextInput</span><span class="hl-1">, </span><span class="hl-2">ProcessTerminal</span><span class="hl-1"> } </span><span class="hl-0">from</span><span class="hl-1"> </span><span class="hl-3">&quot;@cel-tui/core&quot;</span>< …
11+<pre><code class="ts"><span class="hl-0">import</span><span class="hl-1"> { </span><span class="hl-2">cel</span><span class="hl-1">, </span><span class="hl-2">VStack</span><span class="hl-1">, </span><span class="hl-2">Text</span><span class="hl-1">, </span><span class="hl-2">TextInput</span><span class="hl-1">, </span><span class="hl-2">ProcessTerminal</span><span class="hl-1"> } </span><span class="hl-0">from</span><span class="hl-1"> </span><span class="hl-3">&quot;@cel-tui/core&quot;</span>< …
1212 </code><button type="button">Copy</button></pre>
1313
1414 <h2 id="primitives" class="tsd-anchor-link">Primitives<a href="#primitives" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2>
@@ -44,7 +44,8 @@
4444 <li><strong><code>cel.viewport(() =&gt; tree)</code></strong> sets the render function, <strong><code>cel.render()</code></strong> triggers re-renders.</li>
4545 <li><strong>Flexbox layout</strong> — fixed, flex, percentage, and intrinsic sizing with gap, padding, alignment.</li>
4646 <li><strong>Layers</strong> — return an array for multi-layer compositing (modals, overlays).</li>
47-<li><strong>Controlled props</strong> — focus, scroll, and text value are app-owned.</li>
47+<li><strong>Uncontrolled by default</strong> — focus and scroll just work. Opt into controlled mode when needed.</li>
48+<li><strong>Style inheritance</strong> — containers propagate styles to descendants. <code>bgColor</code> fills the rect.</li>
4849 <li><strong>Cell buffer rendering</strong> — styled cells, differential updates, synchronized output.</li>
4950 </ul>
5051 <h2 id="packages" class="tsd-anchor-link">Packages<a href="#packages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2>
@@ -77,7 +78,7 @@
7778 <li><strong><a href="media/SKILL.md">Agent Skill</a></strong> — structured guide for AI coding agents to build apps with cel-tui</li>
7879 </ul>
7980 <h2 id="development" class="tsd-anchor-link">Development<a href="#development" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2>
80-<pre><code class="bash"><span class="hl-5">bun</span><span class="hl-1"> </span><span class="hl-3">install</span><span class="hl-1"> </span><span class="hl-7"># install dependencies</span><br/><span class="hl-5">bun</span><span class="hl-1"> </span><span class="hl-3">test</span><span class="hl-1"> </span><span class="hl-7"># run tests (230+)</span><br/><span class="hl-5">bun</span><span class="hl-1"> </span><span class="hl-3">run</span><span class="hl-1"> </span><span clas …
81+<pre><code class="bash"><span class="hl-5">bun</span><span class="hl-1"> </span><span class="hl-3">install</span><span class="hl-1"> </span><span class="hl-7"># install dependencies</span><br/><span class="hl-5">bun</span><span class="hl-1"> </span><span class="hl-3">test</span><span class="hl-1"> </span><span class="hl-7"># run tests</span><br/><span class="hl-5">bun</span><span class="hl-1"> </span><span class="hl-3">run</span><span class="hl-1"> </span><span class="hl-3 …
8182 </code><button type="button">Copy</button></pre>
8283
8384 <h2 id="license" class="tsd-anchor-link">License<a href="#license" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2>
docs/html/interfaces/components_src.ButtonProps.html+6−6
@@ -1,15 +1,15 @@
11 <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ButtonProps | cel-tui</title><meta name="description" content="Documentation for cel-tui"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons …
2-</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">ButtonProps</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#bgcolor">bgColor</a><span class="tsd-signature-symbol">?:</span> <a href="../types/types_src.Color.html" class="tsd-signature-type tsd-kind-type-alias">Color</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#bold">b …
2+</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">ButtonProps</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#bgcolor">bgColor</a><span class="tsd-signature-symbol">?:</span> <a href="../types/types_src.Color.html" class="tsd-signature-type tsd-kind-type-alias">Color</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#bold">b …
33 <a href="#bold" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bold?</span></a>
44 <a href="#fgcolor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fg<wbr/>Color?</span></a>
55 <a href="#focusable" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>focusable?</span></a>
66 <a href="#onclick" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>on<wbr/>Click</span></a>
77 </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="bgcolor"><code class="tsd-tag">Optional</code><span>bg<wbr/>Co …
8-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/components/src/button.ts#L13">components/src/button.ts:13</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="bold"><code class="tsd-tag">Optional</code><span>bold</span><a href="#bold" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/ic …
9-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/components/src/button.ts#L9">components/src/button.ts:9</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="fgcolor"><code class="tsd-tag">Optional</code><span>fg<wbr/>Color</span><a href="#fgcolor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href= …
10-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/components/src/button.ts#L11">components/src/button.ts:11</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="focusable"><code class="tsd-tag">Optional</code><span>focusable</span><a href="#focusable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use hre …
8+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/components/src/button.ts#L13">components/src/button.ts:13</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="bold"><code class="tsd-tag">Optional</code><span>bold</span><a href="#bold" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/ic …
9+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/components/src/button.ts#L9">components/src/button.ts:9</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="fgcolor"><code class="tsd-tag">Optional</code><span>fg<wbr/>Color</span><a href="#fgcolor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href= …
10+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/components/src/button.ts#L11">components/src/button.ts:11</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="focusable"><code class="tsd-tag">Optional</code><span>focusable</span><a href="#focusable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use hre …
1111 </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-default"><h4 class="tsd-anchor-link" id="default">Default<a href="#default" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-4">true</span>
1212 </code><button type="button">Copy</button></pre>
1313
14-</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/components/src/button.ts#L18">components/src/button.ts:18</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="onclick"><span>on<wbr/>Click</span><a href="#onclick" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anc …
15-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/components/src/button.ts#L7">components/src/button.ts:7</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><u …
14+</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/components/src/button.ts#L18">components/src/button.ts:18</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="onclick"><span>on<wbr/>Click</span><a href="#onclick" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anc …
15+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/components/src/button.ts#L7">components/src/button.ts:7</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><u …
docs/html/interfaces/components_src.DividerProps.html+3−3
@@ -1,9 +1,9 @@
11 <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DividerProps | cel-tui</title><meta name="description" content="Documentation for cel-tui"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icon …
2-</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">DividerProps</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#char">char</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#fgcolor">fgColor</a><span class="tsd-signature-symbol">?:</spa …
2+</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">DividerProps</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#char">char</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#fgcolor">fgColor</a><span class="tsd-signature-symbol">?:</spa …
33 <a href="#fgcolor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fg<wbr/>Color?</span></a>
44 </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="char"><code class="tsd-tag">Optional</code><span>char</span><a …
55 </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-default"><h4 class="tsd-anchor-link" id="default">Default<a href="#default" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-3">&quot;─&quot;</span>
66 </code><button type="button">Copy</button></pre>
77
8-</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/components/src/divider.ts#L10">components/src/divider.ts:10</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="fgcolor"><code class="tsd-tag">Optional</code><span>fg<wbr/>Color</span><a href="#fgcolor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"> …
9-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/components/src/divider.ts#L12">components/src/divider.ts:12</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true …
8+</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/components/src/divider.ts#L10">components/src/divider.ts:10</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="fgcolor"><code class="tsd-tag">Optional</code><span>fg<wbr/>Color</span><a href="#fgcolor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"> …
9+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/components/src/divider.ts#L12">components/src/divider.ts:12</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true …
docs/html/interfaces/core_src.Cell.html+7−7
@@ -2,16 +2,16 @@
22 <p>Each cell represents one column in the terminal grid.
33 Wide characters (CJK, emoji) occupy two cells — the first cell
44 holds the character, the second is a continuation marker.</p>
5-</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">Cell</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#bgcolor">bgColor</a><span class="tsd-signature-symbol">:</span> <a href="../types/types_src.Color.html" class="tsd-signature-type tsd-kind-type-alias">Color</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span><span class="tsd-s …
5+</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">Cell</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#bgcolor">bgColor</a><span class="tsd-signature-symbol">:</span> <a href="../types/types_src.Color.html" class="tsd-signature-type tsd-kind-type-alias">Color</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span><span class="tsd-s …
66 <a href="#bold" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bold</span></a>
77 <a href="#char" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>char</span></a>
88 <a href="#fgcolor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fg<wbr/>Color</span></a>
99 <a href="#italic" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>italic</span></a>
1010 <a href="#underline" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>underline</span></a>
1111 </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="bgcolor"><span>bg<wbr/>Color</span><a href="#bgcolor" aria-lab …
12-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/cell-buffer.ts#L16">core/src/cell-buffer.ts:16</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="bold"><span>bold</span><a href="#bold" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></ …
13-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/cell-buffer.ts#L18">core/src/cell-buffer.ts:18</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="char"><span>char</span><a href="#char" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></ …
14-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/cell-buffer.ts#L12">core/src/cell-buffer.ts:12</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="fgcolor"><span>fg<wbr/>Color</span><a href="#fgcolor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></u …
15-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/cell-buffer.ts#L14">core/src/cell-buffer.ts:14</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="italic"><span>italic</span><a href="#italic" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg> …
16-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/cell-buffer.ts#L20">core/src/cell-buffer.ts:20</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="underline"><span>underline</span><a href="#underline" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></u …
17-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/cell-buffer.ts#L22">core/src/cell-buffer.ts:22</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><u …
12+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/cell-buffer.ts#L16">core/src/cell-buffer.ts:16</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="bold"><span>bold</span><a href="#bold" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></ …
13+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/cell-buffer.ts#L18">core/src/cell-buffer.ts:18</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="char"><span>char</span><a href="#char" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></ …
14+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/cell-buffer.ts#L12">core/src/cell-buffer.ts:12</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="fgcolor"><span>fg<wbr/>Color</span><a href="#fgcolor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></u …
15+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/cell-buffer.ts#L14">core/src/cell-buffer.ts:14</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="italic"><span>italic</span><a href="#italic" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg> …
16+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/cell-buffer.ts#L20">core/src/cell-buffer.ts:20</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="underline"><span>underline</span><a href="#underline" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></u …
17+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/cell-buffer.ts#L22">core/src/cell-buffer.ts:22</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><u …
docs/html/interfaces/core_src.Terminal.html+8−8
@@ -1,7 +1,7 @@
11 <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Terminal | cel-tui</title><meta name="description" content="Documentation for cel-tui"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js …
22 <p>Abstracts terminal I/O for both real usage (ProcessTerminal)
33 and testing (MockTerminal).</p>
4-</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">Terminal</span> <span class="tsd-signature-symbol">{</span><br/>    <span class="tsd-signature-keyword">get</span> <a class="tsd-kind-get-signature" href="#columnscolumns">columns</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>  …
4+</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">Terminal</span> <span class="tsd-signature-symbol">{</span><br/>    <span class="tsd-signature-keyword">get</span> <a class="tsd-kind-get-signature" href="#columnscolumns">columns</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>  …
55 <a href="#rows" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>rows</span></a>
66 </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#hidecursor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>hide<wbr/>Cursor</span></a>
77 <a href="#showcursor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>show<wbr/>Cursor</span></a>
@@ -9,10 +9,10 @@ and testing (MockTerminal).</p>
99 <a href="#stop" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>stop</span></a>
1010 <a href="#write" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>write</span></a>
1111 </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Accessors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="columns"><span>columns</span><a href="#columns" aria-label="Perm …
12-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L11">core/src/terminal.ts:11</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="rows"><span>rows</span><a href="#rows" aria-label="Permalink" class="tsd-anchor-icon"><svg vi …
13-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L13">core/src/terminal.ts:13</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg wid …
14-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L19">core/src/terminal.ts:19</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="showcursor"><span>show<wbr/>Cursor</span><a href="#showcursor" aria-label="Permalink" class="ts …
15-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L21">core/src/terminal.ts:21</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="start"><span>start</span><a href="#start" aria-label="Permalink" class="tsd-anchor-icon"><svg v …
16-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">onInput</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span></span></li><li …
17-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L17">core/src/terminal.ts:17</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="write"><span>write</span><a href="#write" aria-label="Permalink" class="tsd-anchor-icon"><svg v …
18-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/core/src/terminal.ts#L9">core/ …
12+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L11">core/src/terminal.ts:11</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="rows"><span>rows</span><a href="#rows" aria-label="Permalink" class="tsd-anchor-icon"><svg vi …
13+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L13">core/src/terminal.ts:13</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg wid …
14+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L19">core/src/terminal.ts:19</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="showcursor"><span>show<wbr/>Cursor</span><a href="#showcursor" aria-label="Permalink" class="ts …
15+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L21">core/src/terminal.ts:21</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="start"><span>start</span><a href="#start" aria-label="Permalink" class="tsd-anchor-icon"><svg v …
16+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">onInput</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span></span></li><li …
17+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L17">core/src/terminal.ts:17</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="write"><span>write</span><a href="#write" aria-label="Permalink" class="tsd-anchor-icon"><svg v …
18+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/core/src/terminal.ts#L9">core/ …
docs/html/interfaces/types_src.ContainerNode.html+4−4
@@ -1,10 +1,10 @@
11 <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ContainerNode | cel-tui</title><meta name="description" content="Documentation for cel-tui"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/ico …
22 <p>Created by VStack (vertical) or HStack (horizontal).
33 Contains an ordered list of child nodes.</p>
4-</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">ContainerNode</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#children">children</a><span class="tsd-signature-symbol">:</span> <a href="../types/types_src.Node.html" class="tsd-signature-type tsd-kind-type-alias">Node</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/>    …
4+</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">ContainerNode</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#children">children</a><span class="tsd-signature-symbol">:</span> <a href="../types/types_src.Node.html" class="tsd-signature-type tsd-kind-type-alias">Node</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/>    …
55 <a href="#props" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>props</span></a>
66 <a href="#type" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type</span></a>
77 </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="children"><span>children</span><a href="#children" aria-label= …
8-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L305">types/src/index.ts:305</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="props"><span>props</span><a href="#props" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><d …
9-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L303">types/src/index.ts:303</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="type"><span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div …
10-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L301">types/src/index.ts:301</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href= …
8+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L321">types/src/index.ts:321</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="props"><span>props</span><a href="#props" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><d …
9+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L319">types/src/index.ts:319</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="type"><span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div …
10+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L317">types/src/index.ts:317</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href= …
docs/html/interfaces/types_src.ContainerProps.html+52−24
@@ -1,11 +1,19 @@
11 <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ContainerProps | cel-tui</title><meta name="description" content="Documentation for cel-tui"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/ic …
2-<p>Controls layout, sizing, scrolling, focus, click handling, and key events.</p>
3-</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">ContainerProps</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#alignitems">alignItems</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">&quot;start&quot;</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">&quot;end&quot;</span> <span class="tsd-signature-s …
2+<p>Controls layout, sizing, scrolling, focus, click handling, key events,
3+and styling. Style props on containers are inherited by descendants —
4+child nodes use the nearest ancestor's values unless they set their own.
5+Container <code>bgColor</code> fills the container rect before painting children.</p>
6+</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">ContainerProps</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#alignitems">alignItems</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">&quot;start&quot;</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">&quot;end&quot;</span> <span class="tsd-signature-s …
7+<a href="#bgcolor" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bg<wbr/>Color?</span></a>
8+<a href="#bold" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bold?</span></a>
9+<a href="#fgcolor" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fg<wbr/>Color?</span></a>
410 <a href="#flex" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>flex?</span></a>
511 <a href="#focusable" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>focusable?</span></a>
612 <a href="#focused" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>focused?</span></a>
13+<a href="#focusstyle" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>focus<wbr/>Style?</span></a>
714 <a href="#gap" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>gap?</span></a>
815 <a href="#height" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>height?</span></a>
16+<a href="#italic" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>italic?</span></a>
917 <a href="#justifycontent" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>justify<wbr/>Content?</span></a>
1018 <a href="#maxheight" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Height?</span></a>
1119 <a href="#maxwidth" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Width?</span></a>
@@ -20,62 +28,82 @@
2028 <a href="#padding" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>padding?</span></a>
2129 <a href="#scrollbar" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scrollbar?</span></a>
2230 <a href="#scrolloffset" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scroll<wbr/>Offset?</span></a>
31+<a href="#underline" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>underline?</span></a>
2332 <a href="#width" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>width?</span></a>
2433 </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="alignitems"><code class="tsd-tag">Optional</code><span>align<w …
2534 <ul>
2635 <li>VStack cross axis = horizontal</li>
2736 <li>HStack cross axis = vertical</li>
2837 </ul>
29-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L114">types/src/index.ts:114</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="flex"><code class="tsd-tag">Optional</code><span>flex</span><a href="#flex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#ic …
38+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L118">types/src/index.ts:118</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="bgcolor"><code class="tsd-tag">Optional</code><span>bg<wbr/>Color</span><a href="#bgcolor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true">< …
39+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.StyleProps.html">StyleProps</a>.<a href="types_src.StyleProps.html#bgcolor">bgColor</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L42">types/src/index.ts:42</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="bold"><code class="tsd-tag">Optional</code><span>bold</sp …
40+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.StyleProps.html">StyleProps</a>.<a href="types_src.StyleProps.html#bold">bold</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L34">types/src/index.ts:34</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="fgcolor"><code class="tsd-tag">Optional</code><span>fg<wbr/>Col …
41+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.StyleProps.html">StyleProps</a>.<a href="types_src.StyleProps.html#fgcolor">fgColor</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L40">types/src/index.ts:40</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="flex"><code class="tsd-tag">Optional</code><span>flex</span><a href="#flex …
3042 is distributed proportionally among flex children.</p>
3143 </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example">Example<a href="#example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-8">flex</span><span class="hl-1">: </span><span class="hl-6">1</span><span class="hl-1"> </span><span class="hl-7">// equal share</span><br/><span class="hl-8">fle …
3244 </code><button type="button">Copy</button></pre>
3345
34-</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L82">types/src/index.ts:82</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="focusable"><code class="tsd-tag">Optional</code><span>focusable</span><a href="#focusable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../ …
46+</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L86">types/src/index.ts:86</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="focusable"><code class="tsd-tag">Optional</code><span>focusable</span><a href="#focusable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../ …
3547 Defaults to <code>true</code> when <a href="#onclick" class="tsd-kind-property">onClick</a> is set. Set to <code>false</code>
3648 to make a container clickable by mouse but not reachable via Tab.</p>
37-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L153">types/src/index.ts:153</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="focused"><code class="tsd-tag">Optional</code><span>focused</span><a href="#focused" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/ico …
38-only one element should be focused at a time.</p>
39-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L159">types/src/index.ts:159</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="gap"><code class="tsd-tag">Optional</code><span>gap</span><a href="#gap" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon- …
40-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L100">types/src/index.ts:100</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="height"><code class="tsd-tag">Optional</code><span>height</span><a href="#height" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons. …
49+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L157">types/src/index.ts:157</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="focused"><code class="tsd-tag">Optional</code><span>focused</span><a href="#focused" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/ico …
50+<p>When provided, focus is <strong>controlled</strong> — the app owns the state and
51+must update this value via <a href="#onfocus" class="tsd-kind-property">onFocus</a>/<a href="#onblur" class="tsd-kind-property">onBlur</a>.
52+When omitted, focus is <strong>uncontrolled</strong> — the framework manages
53+focus internally (Tab/Shift+Tab/Escape/click just work).</p>
54+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L167">types/src/index.ts:167</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="focusstyle"><code class="tsd-tag">Optional</code><span>focus<wbr/>Style</span><a href="#focusstyle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href …
55+Accepts any <a href="types_src.StyleProps.html" class="tsd-kind-interface">StyleProps</a> — overridden values replace the
56+element's normal styles and participate in inheritance.</p>
57+<p>Works in both uncontrolled and controlled focus modes.</p>
58+</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example-1">Example<a href="#example-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-1">{ </span><span class="hl-8">bgColor</span><span class="hl-1">: </span><span class="hl-3">&quot;cyan&quot;</span><span class="hl-1">, </span><span class="hl-8 …
59+</code><button type="button">Copy</button></pre>
60+
61+</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L193">types/src/index.ts:193</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="gap"><code class="tsd-tag">Optional</code><span>gap</span><a href="#gap" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg …
62+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L104">types/src/index.ts:104</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="height"><code class="tsd-tag">Optional</code><span>height</span><a href="#height" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons. …
4163 When omitted, the container uses intrinsic sizing (fits content)
4264 or flex/percentage if those are set.</p>
43-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L72">types/src/index.ts:72</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="justifycontent"><code class="tsd-tag">Optional</code><span>justify<wbr/>Content</span><a href="#justifycontent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true" …
65+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L76">types/src/index.ts:76</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="italic"><code class="tsd-tag">Optional</code><span>italic</span><a href="#italic" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href=". …
66+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.StyleProps.html">StyleProps</a>.<a href="types_src.StyleProps.html#italic">italic</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L36">types/src/index.ts:36</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="justifycontent"><code class="tsd-tag">Optional</code><span>justify<wbr/>Cont …
4467 <ul>
4568 <li>VStack main axis = vertical</li>
4669 <li>HStack main axis = horizontal</li>
4770 </ul>
48-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L107">types/src/index.ts:107</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="maxheight"><code class="tsd-tag">Optional</code><span>max<wbr/>Height</span><a href="#maxheight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href=". …
49-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L91">types/src/index.ts:91</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="maxwidth"><code class="tsd-tag">Optional</code><span>max<wbr/>Width</span><a href="#maxwidth" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../ass …
50-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L87">types/src/index.ts:87</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="minheight"><code class="tsd-tag">Optional</code><span>min<wbr/>Height</span><a href="#minheight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../ …
51-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L89">types/src/index.ts:89</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="minwidth"><code class="tsd-tag">Optional</code><span>min<wbr/>Width</span><a href="#minwidth" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../ass …
52-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L85">types/src/index.ts:85</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="onblur"><code class="tsd-tag">Optional</code><span>on<wbr/>Blur</span><a href="#onblur" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/ic …
53-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L165">types/src/index.ts:165</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="onclick"><code class="tsd-tag">Optional</code><span>on<wbr/>Click</span><a href="#onclick" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../asse …
71+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L111">types/src/index.ts:111</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="maxheight"><code class="tsd-tag">Optional</code><span>max<wbr/>Height</span><a href="#maxheight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href=". …
72+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L95">types/src/index.ts:95</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="maxwidth"><code class="tsd-tag">Optional</code><span>max<wbr/>Width</span><a href="#maxwidth" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../ass …
73+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L91">types/src/index.ts:91</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="minheight"><code class="tsd-tag">Optional</code><span>min<wbr/>Height</span><a href="#minheight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../ …
74+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L93">types/src/index.ts:93</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="minwidth"><code class="tsd-tag">Optional</code><span>min<wbr/>Width</span><a href="#minwidth" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../ass …
75+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L89">types/src/index.ts:89</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="onblur"><code class="tsd-tag">Optional</code><span>on<wbr/>Blur</span><a href="#onblur" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/ic …
76+In uncontrolled mode, this is a notification callback.
77+In controlled mode, update <a href="#focused" class="tsd-kind-property">focused</a> here.</p>
78+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L181">types/src/index.ts:181</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="onclick"><code class="tsd-tag">Optional</code><span>on<wbr/>Click</span><a href="#onclick" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../asse …
5479 Setting this prop makes the container focusable by default.</p>
55-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L146">types/src/index.ts:146</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="onfocus"><code class="tsd-tag">Optional</code><span>on<wbr/>Focus</span><a href="#onfocus" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../asse …
56-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L162">types/src/index.ts:162</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="onkeypress"><code class="tsd-tag">Optional</code><span>on<wbr/>Key<wbr/>Press</span><a href="#onkeypress" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><us …
80+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L150">types/src/index.ts:150</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="onfocus"><code class="tsd-tag">Optional</code><span>on<wbr/>Focus</span><a href="#onfocus" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../asse …
81+In uncontrolled mode, this is a notification callback.
82+In controlled mode, update <a href="#focused" class="tsd-kind-property">focused</a> here.</p>
83+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L174">types/src/index.ts:174</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="onkeypress"><code class="tsd-tag">Optional</code><span>on<wbr/>Key<wbr/>Press</span><a href="#onkeypress" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><us …
5784 Keys are first handled by the focused element; unconsumed keys
5885 (e.g., modifier combos like <code>&quot;ctrl+s&quot;</code>) bubble up through ancestors.
5986 The root container's <code>onKeyPress</code> acts as the global key handler.</p>
6087 <p>Key format: all lowercase, modifiers joined by <code>+</code> in canonical
6188 order <code>ctrl+alt+shift+&lt;key&gt;</code> (e.g., <code>&quot;ctrl+s&quot;</code>, <code>&quot;alt+up&quot;</code>, <code>&quot;escape&quot;</code>).</p>
6289 </div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></li><li cla …
63-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L178">types/src/index.ts:178</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="onscroll"><code class="tsd-tag">Optional</code><span>on<wbr/>Scroll</sp …
90+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L206">types/src/index.ts:206</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="onscroll"><code class="tsd-tag">Optional</code><span>on<wbr/>Scroll</sp …
6491 In controlled mode, update <a href="#scrolloffset" class="tsd-kind-property">scrollOffset</a> with the new value
6592 to move the scroll position.</p>
6693 </div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">offset</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></li><li …
67-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L140">types/src/index.ts:140</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="overflow"><code class="tsd-tag">Optional</code><span>overflow</span><a …
94+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L144">types/src/index.ts:144</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="overflow"><code class="tsd-tag">Optional</code><span>overflow</span><a …
6895 <ul>
6996 <li><code>&quot;hidden&quot;</code> (default) — clip content at the container edge.</li>
7097 <li><code>&quot;scroll&quot;</code> — enable scrolling along the main axis.</li>
7198 </ul>
72-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L121">types/src/index.ts:121</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="padding"><code class="tsd-tag">Optional</code><span>padding</span><a href="#padding" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/ico …
99+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L125">types/src/index.ts:125</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="padding"><code class="tsd-tag">Optional</code><span>padding</span><a href="#padding" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/ico …
73100 <code>x</code> adds horizontal padding (left + right), <code>y</code> adds vertical (top + bottom).</p>
74-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L97">types/src/index.ts:97</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="scrollbar"><code class="tsd-tag">Optional</code><span>scrollbar</span><a href="#scrollbar" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets …
75-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L124">types/src/index.ts:124</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="scrolloffset"><code class="tsd-tag">Optional</code><span>scroll<wbr/>Offset</span><a href="#scrolloffset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><us …
101+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L101">types/src/index.ts:101</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="scrollbar"><code class="tsd-tag">Optional</code><span>scrollbar</span><a href="#scrollbar" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../asse …
102+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L128">types/src/index.ts:128</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="scrolloffset"><code class="tsd-tag">Optional</code><span>scroll<wbr/>Offset</span><a href="#scrolloffset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><us …
76103 scroll state and must update this value via <a href="#onscroll" class="tsd-kind-property">onScroll</a>.
77104 When omitted, scroll is framework-managed (uncontrolled).</p>
78-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L131">types/src/index.ts:131</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="width"><code class="tsd-tag">Optional</code><span>width</span><a href="#width" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg …
105+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L135">types/src/index.ts:135</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="underline"><code class="tsd-tag">Optional</code><span>underline</span><a href="#underline" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true">< …
106+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.StyleProps.html">StyleProps</a>.<a href="types_src.StyleProps.html#underline">underline</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L38">types/src/index.ts:38</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="width"><code class="tsd-tag">Optional</code><span>width</span><a href= …
79107 When omitted, the container uses intrinsic sizing (fits content)
80108 or flex/percentage if those are set.</p>
81-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L65">types/src/index.ts:65</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href=". …
109+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L69">types/src/index.ts:69</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href=". …
docs/html/interfaces/types_src.StyleProps.html+9−8
@@ -1,14 +1,15 @@
1-<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>StyleProps | cel-tui</title><meta name="description" content="Documentation for cel-tui"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons. …
1+<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>StyleProps | cel-tui</title><meta name="description" content="Documentation for cel-tui"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons. …
22 <p>Maps directly to terminal SGR (Select Graphic Rendition) attributes.
3-There is no style inheritance — every node sets its own styles explicitly.</p>
4-</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">StyleProps</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#bgcolor">bgColor</a><span class="tsd-signature-symbol">?:</span> <a href="../types/types_src.Color.html" class="tsd-signature-type tsd-kind-type-alias">Color</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#bold">bo …
3+Containers propagate their styles to descendants — child nodes inherit
4+the nearest ancestor's values unless they set a value explicitly.</p>
5+</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">StyleProps</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#bgcolor">bgColor</a><span class="tsd-signature-symbol">?:</span> <a href="../types/types_src.Color.html" class="tsd-signature-type tsd-kind-type-alias">Color</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#bold">bo …
56 <a href="#bold" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bold?</span></a>
67 <a href="#fgcolor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fg<wbr/>Color?</span></a>
78 <a href="#italic" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>italic?</span></a>
89 <a href="#underline" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>underline?</span></a>
910 </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="bgcolor"><code class="tsd-tag">Optional</code><span>bg<wbr/>Co …
10-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L41">types/src/index.ts:41</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="bold"><code class="tsd-tag">Optional</code><span>bold</span><a href="#bold" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon …
11-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L33">types/src/index.ts:33</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="fgcolor"><code class="tsd-tag">Optional</code><span>fg<wbr/>Color</span><a href="#fgcolor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets …
12-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L39">types/src/index.ts:39</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="italic"><code class="tsd-tag">Optional</code><span>italic</span><a href="#italic" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.sv …
13-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L35">types/src/index.ts:35</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="underline"><code class="tsd-tag">Optional</code><span>underline</span><a href="#underline" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets …
14-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L37">types/src/index.ts:37</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href=". …
11+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L42">types/src/index.ts:42</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="bold"><code class="tsd-tag">Optional</code><span>bold</span><a href="#bold" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon …
12+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L34">types/src/index.ts:34</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="fgcolor"><code class="tsd-tag">Optional</code><span>fg<wbr/>Color</span><a href="#fgcolor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets …
13+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L40">types/src/index.ts:40</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="italic"><code class="tsd-tag">Optional</code><span>italic</span><a href="#italic" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.sv …
14+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L36">types/src/index.ts:36</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="underline"><code class="tsd-tag">Optional</code><span>underline</span><a href="#underline" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets …
15+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L38">types/src/index.ts:38</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href=". …
docs/html/interfaces/types_src.TextInputNode.html+2−2
@@ -1,7 +1,7 @@
11 <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TextInputNode | cel-tui</title><meta name="description" content="Documentation for cel-tui"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/ico …
22 <p>Created by the TextInput function. Accepts container sizing
33 props but has no children — its content is the <code>value</code> prop.</p>
4-</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">TextInputNode</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#props">props</a><span class="tsd-signature-symbol">:</span> <a href="types_src.TextInputProps.html" class="tsd-signature-type tsd-kind-interface">TextInputProps</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#ty …
4+</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">TextInputNode</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#props">props</a><span class="tsd-signature-symbol">:</span> <a href="types_src.TextInputProps.html" class="tsd-signature-type tsd-kind-interface">TextInputProps</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#ty …
55 <a href="#type" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type</span></a>
66 </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="props"><span>props</span><a href="#props" aria-label="Permalin …
7-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L290">types/src/index.ts:290</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="type"><span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div …
7+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L306">types/src/index.ts:306</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="type"><span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div …
docs/html/interfaces/types_src.TextInputProps.html+53−38
@@ -3,13 +3,14 @@
33 sizing props but has no children — its content is the <a href="#value" class="tsd-kind-property">value</a> prop.
44 Scroll is always framework-managed (follows cursor and responds to mouse wheel).
55 Word-wrap is always on.</p>
6-</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">TextInputProps</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#alignitems">alignItems</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">&quot;start&quot;</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">&quot;end&quot;</span> <span class="tsd-signature-s …
6+</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">TextInputProps</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#alignitems">alignItems</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">&quot;start&quot;</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">&quot;end&quot;</span> <span class="tsd-signature-s …
77 <a href="#bgcolor" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bg<wbr/>Color?</span></a>
88 <a href="#bold" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bold?</span></a>
99 <a href="#fgcolor" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fg<wbr/>Color?</span></a>
1010 <a href="#flex" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>flex?</span></a>
1111 <a href="#focusable" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>focusable?</span></a>
12-<a href="#focused" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>focused?</span></a>
12+<a href="#focused" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>focused?</span></a>
13+<a href="#focusstyle" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>focus<wbr/>Style?</span></a>
1314 <a href="#gap" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>gap?</span></a>
1415 <a href="#height" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>height?</span></a>
1516 <a href="#italic" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>italic?</span></a>
@@ -18,10 +19,10 @@ Word-wrap is always on.</p>
1819 <a href="#maxwidth" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Width?</span></a>
1920 <a href="#minheight" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>min<wbr/>Height?</span></a>
2021 <a href="#minwidth" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>min<wbr/>Width?</span></a>
21-<a href="#onblur" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>on<wbr/>Blur?</span></a>
22+<a href="#onblur" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>on<wbr/>Blur?</span></a>
2223 <a href="#onchange" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>on<wbr/>Change</span></a>
2324 <a href="#onclick" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>on<wbr/>Click?</span></a>
24-<a href="#onfocus" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>on<wbr/>Focus?</span></a>
25+<a href="#onfocus" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>on<wbr/>Focus?</span></a>
2526 <a href="#onkeypress" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>on<wbr/>Key<wbr/>Press?</span></a>
2627 <a href="#onscroll" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>on<wbr/>Scroll?</span></a>
2728 <a href="#onsubmit" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>on<wbr/>Submit?</span></a>
@@ -39,79 +40,93 @@ Word-wrap is always on.</p>
3940 <li>VStack cross axis = horizontal</li>
4041 <li>HStack cross axis = vertical</li>
4142 </ul>
42-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#alignitems">alignItems</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L114">types/src/index.ts:114</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="bgcolor"><code class="tsd-tag">Option …
43-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.StyleProps.html">StyleProps</a>.<a href="types_src.StyleProps.html#bgcolor">bgColor</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L41">types/src/index.ts:41</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="bold"><code class="tsd-tag">Optional</code><span>bold</sp …
44-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.StyleProps.html">StyleProps</a>.<a href="types_src.StyleProps.html#bold">bold</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L33">types/src/index.ts:33</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="fgcolor"><code class="tsd-tag">Optional</code><span>fg<wbr/>Col …
45-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.StyleProps.html">StyleProps</a>.<a href="types_src.StyleProps.html#fgcolor">fgColor</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L39">types/src/index.ts:39</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="flex"><code class="tsd-tag">Optional</code><span>flex</sp …
43+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#alignitems">alignItems</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L118">types/src/index.ts:118</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="bgcolor"><code class="tsd-tag">Option …
44+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#bgcolor">bgColor</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L42">types/src/index.ts:42</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="bold"><code class="tsd-tag">Optional</code><s …
45+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#bold">bold</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L34">types/src/index.ts:34</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="fgcolor"><code class="tsd-tag">Optional</code><span …
46+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#fgcolor">fgColor</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L40">types/src/index.ts:40</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="flex"><code class="tsd-tag">Optional</code><s …
4647 is distributed proportionally among flex children.</p>
4748 </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example">Example<a href="#example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-8">flex</span><span class="hl-1">: </span><span class="hl-6">1</span><span class="hl-1"> </span><span class="hl-7">// equal share</span><br/><span class="hl-8">fle …
4849 </code><button type="button">Copy</button></pre>
4950
50-</div></div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#flex">flex</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L82">types/src/index.ts:82</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="focusable"><code class="tsd-tag">Optional</co …
51+</div></div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#flex">flex</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L86">types/src/index.ts:86</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="focusable"><code class="tsd-tag">Optional</co …
5152 Defaults to <code>true</code> when <a href="types_src.ContainerProps.html#onclick" class="tsd-kind-property">onClick</a> is set. Set to <code>false</code>
5253 to make a container clickable by mouse but not reachable via Tab.</p>
53-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#focusable">focusable</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L153">types/src/index.ts:153</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="focused"><code class="tsd-tag">Optional</code><span>focu …
54-owns focus state. TextInput is always focusable.</p>
55-</div><aside class="tsd-sources"><p>Overrides <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#focused">focused</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L257">types/src/index.ts:257</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="gap"><code class="tsd-tag">Optional</code><span> …
56-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#gap">gap</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L100">types/src/index.ts:100</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="height"><code class="tsd-tag">Optional</code><span> …
54+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#focusable">focusable</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L157">types/src/index.ts:157</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="focused"><code class="tsd-tag">Optional …
55+<p>When provided, focus is <strong>controlled</strong> — the app owns the state and
56+must update this value via <a href="types_src.ContainerProps.html#onfocus" class="tsd-kind-property">onFocus</a>/<a href="types_src.ContainerProps.html#onblur" class="tsd-kind-property">onBlur</a>.
57+When omitted, focus is <strong>uncontrolled</strong> — the framework manages
58+focus internally (Tab/Shift+Tab/Escape/click just work).</p>
59+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#focused">focused</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L167">types/src/index.ts:167</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="focusstyle"><code class="tsd-tag">Optional< …
60+Accepts any <a href="types_src.StyleProps.html" class="tsd-kind-interface">StyleProps</a> — overridden values replace the
61+element's normal styles and participate in inheritance.</p>
62+<p>Works in both uncontrolled and controlled focus modes.</p>
63+</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example-1">Example<a href="#example-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-1">{ </span><span class="hl-8">bgColor</span><span class="hl-1">: </span><span class="hl-3">&quot;cyan&quot;</span><span class="hl-1">, </span><span class="hl-8 …
64+</code><button type="button">Copy</button></pre>
65+
66+</div></div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#focusstyle">focusStyle</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L193">types/src/index.ts:193</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="gap"><code class="tsd-tag">Opti …
67+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#gap">gap</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L104">types/src/index.ts:104</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="height"><code class="tsd-tag">Optional</code><span> …
5768 When omitted, the container uses intrinsic sizing (fits content)
5869 or flex/percentage if those are set.</p>
59-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#height">height</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L72">types/src/index.ts:72</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="italic"><code class="tsd-tag">Optional</code><s …
60-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.StyleProps.html">StyleProps</a>.<a href="types_src.StyleProps.html#italic">italic</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L35">types/src/index.ts:35</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="justifycontent"><code class="tsd-tag">Optional</code><span> …
70+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#height">height</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L76">types/src/index.ts:76</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="italic"><code class="tsd-tag">Optional</code><s …
71+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#italic">italic</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L36">types/src/index.ts:36</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="justifycontent"><code class="tsd-tag">Optional< …
6172 <ul>
6273 <li>VStack main axis = vertical</li>
6374 <li>HStack main axis = horizontal</li>
6475 </ul>
65-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#justifycontent">justifyContent</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L107">types/src/index.ts:107</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="maxheight"><code class="tsd-t …
66-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#maxheight">maxHeight</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L91">types/src/index.ts:91</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="maxwidth"><code class="tsd-tag">Optional< …
67-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#maxwidth">maxWidth</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L87">types/src/index.ts:87</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="minheight"><code class="tsd-tag">Optional</ …
68-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#minheight">minHeight</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L89">types/src/index.ts:89</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="minwidth"><code class="tsd-tag">Optional< …
69-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#minwidth">minWidth</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L85">types/src/index.ts:85</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="onblur"><code class="tsd-tag">Optional</code><span>on<wbr/>B …
70-</div><aside class="tsd-sources"><p>Overrides <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#onblur">onBlur</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L263">types/src/index.ts:263</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="onchange"><span>on<wbr/>Change</span><a href="#onchange" aria-label …
76+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#justifycontent">justifyContent</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L111">types/src/index.ts:111</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="maxheight"><code class="tsd-t …
77+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#maxheight">maxHeight</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L95">types/src/index.ts:95</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="maxwidth"><code class="tsd-tag">Optional< …
78+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#maxwidth">maxWidth</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L91">types/src/index.ts:91</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="minheight"><code class="tsd-tag">Optional</ …
79+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#minheight">minHeight</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L93">types/src/index.ts:93</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="minwidth"><code class="tsd-tag">Optional< …
80+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#minwidth">minWidth</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L89">types/src/index.ts:89</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="onblur"><code class="tsd-tag">Optional</cod …
81+In uncontrolled mode, this is a notification callback.
82+In controlled mode, update <a href="types_src.ContainerProps.html#focused" class="tsd-kind-property">focused</a> here.</p>
83+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#onblur">onBlur</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L181">types/src/index.ts:181</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="onchange"><span>on<wbr/>Change</span><a href="#onchange" aria- …
7184 string and call <code>cel.render()</code> to reflect the change.</p>
7285 </div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></li><li c …
73-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L227">types/src/index.ts:227</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="onclick"><code class="tsd-tag">Optional</code><span>on …
86+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L255">types/src/index.ts:255</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="onclick"><code class="tsd-tag">Optional</code><span>on …
7487 Setting this prop makes the container focusable by default.</p>
75-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#onclick">onClick</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L146">types/src/index.ts:146</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="onfocus"><code class="tsd-tag">Optional</code><span>on<wbr/> …
76-</div><aside class="tsd-sources"><p>Overrides <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#onfocus">onFocus</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L260">types/src/index.ts:260</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="onkeypress"><code class="tsd-tag">Optional</code …
88+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#onclick">onClick</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L150">types/src/index.ts:150</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="onfocus"><code class="tsd-tag">Optional</co …
89+In uncontrolled mode, this is a notification callback.
90+In controlled mode, update <a href="types_src.ContainerProps.html#focused" class="tsd-kind-property">focused</a> here.</p>
91+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#onfocus">onFocus</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L174">types/src/index.ts:174</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="onkeypress"><code class="tsd-tag">Optional< …
7792 Keys are first handled by the focused element; unconsumed keys
7893 (e.g., modifier combos like <code>&quot;ctrl+s&quot;</code>) bubble up through ancestors.
7994 The root container's <code>onKeyPress</code> acts as the global key handler.</p>
8095 <p>Key format: all lowercase, modifiers joined by <code>+</code> in canonical
8196 order <code>ctrl+alt+shift+&lt;key&gt;</code> (e.g., <code>&quot;ctrl+s&quot;</code>, <code>&quot;alt+up&quot;</code>, <code>&quot;escape&quot;</code>).</p>
8297 </div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></li><li cla …
83-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#onkeypress">onKeyPress</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L178">types/src/index.ts:178</a></li></ul></aside></sec …
98+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#onkeypress">onKeyPress</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L206">types/src/index.ts:206</a></li></ul></aside></sec …
8499 In controlled mode, update <a href="types_src.ContainerProps.html#scrolloffset" class="tsd-kind-property">scrollOffset</a> with the new value
85100 to move the scroll position.</p>
86101 </div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">offset</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></li><li …
87-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#onscroll">onScroll</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L140">types/src/index.ts:140</a></li></ul></aside></section …
102+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#onscroll">onScroll</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L144">types/src/index.ts:144</a></li></ul></aside></section …
88103 </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link" id="see">See<a href="#see" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="#submitkey" class="tsd-kind-property">submitKey</a></p>
89-</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L233">types/src/index.ts:233</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="overflow"><code class="tsd-tag">Optional</code><span>overflow</span><a href="#overflow" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true …
104+</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L261">types/src/index.ts:261</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="overflow"><code class="tsd-tag">Optional</code><span>overflow</span><a href="#overflow" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true …
90105 <ul>
91106 <li><code>&quot;hidden&quot;</code> (default) — clip content at the container edge.</li>
92107 <li><code>&quot;scroll&quot;</code> — enable scrolling along the main axis.</li>
93108 </ul>
94-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#overflow">overflow</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L121">types/src/index.ts:121</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="padding"><code class="tsd-tag">Optional</ …
109+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#overflow">overflow</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L125">types/src/index.ts:125</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="padding"><code class="tsd-tag">Optional</ …
95110 <code>x</code> adds horizontal padding (left + right), <code>y</code> adds vertical (top + bottom).</p>
96-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#padding">padding</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L97">types/src/index.ts:97</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="placeholder"><code class="tsd-tag">Optional</code><span>placeh …
111+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#padding">padding</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L101">types/src/index.ts:101</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="placeholder"><code class="tsd-tag">Optional</code><span>plac …
97112 Fully stylable — pass a <code>Text()</code> call with any styling props.</p>
98-</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example-1">Example<a href="#example-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-8">placeholder</span><span class="hl-1">: </span><span class="hl-5">Text</span><span class="hl-1">(</span><span class="hl-3">&quot;type a message...&quot;</span …
113+</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example-2">Example<a href="#example-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-8">placeholder</span><span class="hl-1">: </span><span class="hl-5">Text</span><span class="hl-1">(</span><span class="hl-3">&quot;type a message...&quot;</span …
99114 </code><button type="button">Copy</button></pre>
100115
101-</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L251">types/src/index.ts:251</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="scrollbar"><code class="tsd-tag">Optional</code><span>scrollbar</span><a href="#scrollbar" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="t …
102-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#scrollbar">scrollbar</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L124">types/src/index.ts:124</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="scrolloffset"><code class="tsd-tag">Opt …
116+</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L279">types/src/index.ts:279</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="scrollbar"><code class="tsd-tag">Optional</code><span>scrollbar</span><a href="#scrollbar" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="t …
117+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#scrollbar">scrollbar</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L128">types/src/index.ts:128</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="scrolloffset"><code class="tsd-tag">Opt …
103118 scroll state and must update this value via <a href="types_src.ContainerProps.html#onscroll" class="tsd-kind-property">onScroll</a>.
104119 When omitted, scroll is framework-managed (uncontrolled).</p>
105-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#scrolloffset">scrollOffset</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L131">types/src/index.ts:131</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="submitkey"><code class="tsd-tag">Optional</code><s …
120+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#scrolloffset">scrollOffset</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L135">types/src/index.ts:135</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="submitkey"><code class="tsd-tag">Optional</code><s …
106121 </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-default"><h4 class="tsd-anchor-link" id="default">Default<a href="#default" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-3">&quot;enter&quot;</span>
107122 </code><button type="button">Copy</button></pre>
108123
109-</div><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example-2">Example<a href="#example-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-8">submitKey</span><span class="hl-1">: </span><span class="hl-3">&quot;ctrl+enter&quot;</span><span class="hl-1"> </span><span class="hl-7">// Enter inserts newline, Ctrl+Enter submits</span>
124+</div><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example-3">Example<a href="#example-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-8">submitKey</span><span class="hl-1">: </span><span class="hl-3">&quot;ctrl+enter&quot;</span><span class="hl-1"> </span><span class="hl-7">// Enter inserts newline, Ctrl+Enter submits</span>
110125 </code><button type="button">Copy</button></pre>
111126
112-</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L242">types/src/index.ts:242</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="underline"><code class="tsd-tag">Optional</code><span>underline</span><a href="#underline" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="t …
113-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.StyleProps.html">StyleProps</a>.<a href="types_src.StyleProps.html#underline">underline</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L37">types/src/index.ts:37</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="value"><span>value</span><a href="#value" aria-label="Permalink" class …
114-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L219">types/src/index.ts:219</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="width"><code class="tsd-tag">Optional</code><span>width</span><a href="#width" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href=".. …
127+</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L270">types/src/index.ts:270</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="underline"><code class="tsd-tag">Optional</code><span>underline</span><a href="#underline" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="t …
128+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#underline">underline</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L38">types/src/index.ts:38</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="value"><span>value</span><a href="#value" aria-label="Perm …
129+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L247">types/src/index.ts:247</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="width"><code class="tsd-tag">Optional</code><span>width</span><a href="#width" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href=".. …
115130 When omitted, the container uses intrinsic sizing (fits content)
116131 or flex/percentage if those are set.</p>
117-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#width">width</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L65">types/src/index.ts:65</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accor …
132+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.ContainerProps.html">ContainerProps</a>.<a href="types_src.ContainerProps.html#width">width</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L69">types/src/index.ts:69</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accor …
docs/html/interfaces/types_src.TextNode.html+3−3
@@ -2,9 +2,9 @@
22 <p>Created by the Text function. Has no children — the parent
33 container controls the box, and height is intrinsic (computed from
44 content and wrapping).</p>
5-</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">TextNode</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#content">content</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#props">props</a><span class="tsd-signature-symbol">:</span> < …
5+</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">TextNode</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#content">content</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#props">props</a><span class="tsd-signature-symbol">:</span> < …
66 <a href="#props" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>props</span></a>
77 <a href="#type" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type</span></a>
88 </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="content"><span>content</span><a href="#content" aria-label="Pe …
9-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L276">types/src/index.ts:276</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="props"><span>props</span><a href="#props" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><d …
10-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L278">types/src/index.ts:278</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="type"><span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div …
9+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L292">types/src/index.ts:292</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="props"><span>props</span><a href="#props" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><d …
10+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L294">types/src/index.ts:294</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="type"><span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div …
docs/html/interfaces/types_src.TextProps.html+8−8
@@ -2,7 +2,7 @@
22 <p>Text is a styled leaf node with no children and no sizing props —
33 the parent container controls the box. Height is intrinsic, computed
44 from content, newlines, and word-wrapping at the given width.</p>
5-</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">TextProps</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#bgcolor">bgColor</a><span class="tsd-signature-symbol">?:</span> <a href="../types/types_src.Color.html" class="tsd-signature-type tsd-kind-type-alias">Color</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#bold">bol …
5+</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">TextProps</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#bgcolor">bgColor</a><span class="tsd-signature-symbol">?:</span> <a href="../types/types_src.Color.html" class="tsd-signature-type tsd-kind-type-alias">Color</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#bold">bol …
66 <a href="#bold" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bold?</span></a>
77 <a href="#fgcolor" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fg<wbr/>Color?</span></a>
88 <a href="#italic" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>italic?</span></a>
@@ -10,19 +10,19 @@ from content, newlines, and word-wrapping at the given width.</p>
1010 <a href="#underline" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>underline?</span></a>
1111 <a href="#wrap" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>wrap?</span></a>
1212 </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="bgcolor"><code class="tsd-tag">Optional</code …
13-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.StyleProps.html">StyleProps</a>.<a href="types_src.StyleProps.html#bgcolor">bgColor</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L41">types/src/index.ts:41</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="bold"><code class="tsd-tag">Optional</code><span>bold</sp …
14-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.StyleProps.html">StyleProps</a>.<a href="types_src.StyleProps.html#bold">bold</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L33">types/src/index.ts:33</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="fgcolor"><code class="tsd-tag">Optional</code><span>fg<wbr/>Col …
15-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.StyleProps.html">StyleProps</a>.<a href="types_src.StyleProps.html#fgcolor">fgColor</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L39">types/src/index.ts:39</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="italic"><code class="tsd-tag">Optional</code><span>italic …
16-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.StyleProps.html">StyleProps</a>.<a href="types_src.StyleProps.html#italic">italic</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L35">types/src/index.ts:35</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="repeat"><code class="tsd-tag">Optional</code><span>repeat</span><a href="#re …
13+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.StyleProps.html">StyleProps</a>.<a href="types_src.StyleProps.html#bgcolor">bgColor</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L42">types/src/index.ts:42</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="bold"><code class="tsd-tag">Optional</code><span>bold</sp …
14+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.StyleProps.html">StyleProps</a>.<a href="types_src.StyleProps.html#bold">bold</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L34">types/src/index.ts:34</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="fgcolor"><code class="tsd-tag">Optional</code><span>fg<wbr/>Col …
15+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.StyleProps.html">StyleProps</a>.<a href="types_src.StyleProps.html#fgcolor">fgColor</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L40">types/src/index.ts:40</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="italic"><code class="tsd-tag">Optional</code><span>italic …
16+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.StyleProps.html">StyleProps</a>.<a href="types_src.StyleProps.html#italic">italic</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L36">types/src/index.ts:36</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="repeat"><code class="tsd-tag">Optional</code><span>repeat</span><a href="#re …
1717 available width. When set, wrapping is ignored.</p>
1818 </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example">Example<a href="#example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-8">repeat</span><span class="hl-1">: </span><span class="hl-3">&quot;fill&quot;</span><span class="hl-1"> </span><span class="hl-7">// fills parent width (e.g., di …
1919 </code><button type="button">Copy</button></pre>
2020
21-</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L197">types/src/index.ts:197</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="underline"><code class="tsd-tag">Optional</code><span>underline</span><a href="#underline" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="t …
22-</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.StyleProps.html">StyleProps</a>.<a href="types_src.StyleProps.html#underline">underline</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L37">types/src/index.ts:37</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="wrap"><code class="tsd-tag">Optional</code><span>wrap</span><a href="# …
21+</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L225">types/src/index.ts:225</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="underline"><code class="tsd-tag">Optional</code><span>underline</span><a href="#underline" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="t …
22+</div><aside class="tsd-sources"><p>Inherited from <a href="types_src.StyleProps.html">StyleProps</a>.<a href="types_src.StyleProps.html#underline">underline</a></p><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L38">types/src/index.ts:38</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="wrap"><code class="tsd-tag">Optional</code><span>wrap</span><a href="# …
2323 <ul>
2424 <li><code>&quot;none&quot;</code> (default) — no wrapping, content is hard-clipped at the box edge.</li>
2525 <li><code>&quot;word&quot;</code> — word-wrap to fit available width. Affects computed height.</li>
2626 </ul>
2727 <p>Whitespace is always preserved. <code>\n</code> produces explicit line breaks.</p>
28-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/c22a4594bf50c6f4704e9f084926eb0b2ffdc459/packages/types/src/index.ts#L206">types/src/index.ts:206</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href= …
28+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sacenox/cel-tui/blob/3f42b8f9f04e894bda687c40d5c606614db01a42/packages/types/src/index.ts#L234">types/src/index.ts:234</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href= …
docs/html/media/SKILL.md+50−18
@@ -5,12 +5,12 @@ license: MIT
55 compatibility: Requires Bun runtime and a terminal with SGR mouse mode support.
66 metadata:
77 author: sacenox
8- version: "0.0.1"
8+ version: "0.1.0"
99 ---
1010
1111 # Building TUIs with cel-tui
1212
13-cel-tui is a TypeScript TUI framework with a declarative functional API, flexbox layout, and cell-buffer rendering. It has 4 primitives and external state management.
13+cel-tui is a TypeScript TUI framework with a declarative functional API, flexbox layout, cell-buffer rendering, and style inheritance. It has 4 primitives and external state management.
1414
1515 ## Install
1616
@@ -47,6 +47,7 @@ cel.viewport(() =>
4747 VStack(
4848 {
4949 height: "100%",
50+ fgColor: "white",
5051 onKeyPress: (key) => {
5152 if (key === "ctrl+q") {
5253 cel.stop();
@@ -60,7 +61,6 @@ cel.viewport(() =>
6061 TextInput({
6162 flex: 1,
6263 value,
63- focused: true,
6464 onChange: (v) => {
6565 value = v;
6666 cel.render();
@@ -101,6 +101,7 @@ TextInput accepts container sizing props (`flex`, `width`, `height`, `padding`,
101101
102102 ```ts
103103 {
104+ // Sizing
104105 width, height, // SizeValue (number | "50%")
105106 flex, // number
106107 minWidth, maxWidth, // number
@@ -113,9 +114,16 @@ TextInput accepts container sizing props (`flex`, `width`, `height`, `padding`,
113114 scrollbar, // boolean
114115 scrollOffset, // number (controlled scroll)
115116 onScroll, // (offset: number) => void
117+
118+ // Styling (inherited by descendants)
119+ bold, italic, underline,// boolean
120+ fgColor, bgColor, // Color (ANSI 16)
121+ focusStyle, // StyleProps — overrides when focused
122+
123+ // Interaction
116124 onClick, // () => void
117125 focusable, // boolean (default true if onClick set)
118- focused, // boolean (controlled)
126+ focused, // boolean (controlled — omit for uncontrolled)
119127 onFocus, // () => void
120128 onBlur, // () => void
121129 onKeyPress, // (key: string) => void
@@ -147,11 +155,7 @@ TextInput({
147155 onSubmit, // () => void
148156 submitKey, // string (default "enter")
149157 placeholder, // Text() node shown when empty
150- focused, // boolean (controlled)
151- onFocus,
152- onBlur, // () => void
153- // + all container sizing props
154- // + all styling props (bold, fgColor, etc.)
158+ // + all container props (sizing, styling, focus, etc.)
155159 });
156160 ```
157161
@@ -173,12 +177,17 @@ HStack({ height: 1 }, [
173177 Text("─", { repeat: "fill", fgColor: "brightBlack" });
174178 ```
175179
176-### Button
180+### Button with focus style
177181
178182 ```ts
179-HStack({ onClick: handleClick }, [
180- Text("[Send]", { bold: true, fgColor: "cyan" }),
181-]);
183+HStack(
184+ {
185+ onClick: handleClick,
186+ fgColor: "cyan",
187+ focusStyle: { bgColor: "cyan", fgColor: "black" },
188+ },
189+ [Text(" Send ", { bold: true })],
190+);
182191 ```
183192
184193 ### Growing text input (caps at maxHeight, then scrolls)
@@ -218,7 +227,7 @@ VStack(
218227
219228 ### Layers (modals)
220229
221-Return an array from the render function. Layers composite bottom-to-top:
230+Return an array from the render function. Layers composite bottom-to-top. Use `bgColor` for opaque modal backgrounds:
222231
223232 ```ts
224233 cel.viewport(() => [
@@ -235,7 +244,11 @@ cel.viewport(() => [
235244 cel.render();
236245 },
237246 },
238- [VStack({ width: 40, height: 10 }, [...modalContent])],
247+ [
248+ VStack({ width: 40, height: 10, bgColor: "black" }, [
249+ ...modalContent,
250+ ]),
251+ ],
239252 ),
240253 ]
241254 : []),
@@ -256,9 +269,15 @@ VStack({
256269 }, [...])
257270 ```
258271
259-### Focus (controlled)
272+### Focus
273+
274+Focus is **uncontrolled by default** — Tab/Shift+Tab/Escape/click just work:
260275
261276 ```ts
277+// Uncontrolled (default) — framework manages focus
278+HStack({ onClick: handleAction }, [Text("[ OK ]")]);
279+
280+// Controlled — app owns focus state (provide `focused` prop)
262281 TextInput({
263282 value: text,
264283 onChange: handleChange,
@@ -274,6 +293,17 @@ TextInput({
274293 });
275294 ```
276295
296+### Style inheritance
297+
298+Containers propagate styles to descendants. Explicit props always win:
299+
300+```ts
301+VStack({ fgColor: "white", bgColor: "blue" }, [
302+ Text("inherits white on blue"),
303+ Text("explicit green on blue", { fgColor: "green" }),
304+]);
305+```
306+
277307 ## Key Format
278308
279309 All lowercase, modifiers joined by `+`: `"ctrl+s"`, `"ctrl+shift+n"`, `"escape"`, `"enter"`, `"alt+up"`, `"f1"`. Framework normalizes modifier order.
@@ -283,9 +313,11 @@ All lowercase, modifiers joined by `+`: `"ctrl+s"`, `"ctrl+shift+n"`, `"escape"`
283313 - **State is external** — framework has no state. Call `cel.render()` after changes.
284314 - **Text is a leaf** — no sizing props, no children. Parent controls the box.
285315 - **TextInput is a container** — accepts sizing props but no children.
286-- **No style inheritance** — every node sets its own styles explicitly.
316+- **Style inheritance** — containers propagate styles (fgColor, bgColor, bold, etc.) to descendants. Explicit props on a node always override. Container `bgColor` fills the rect with opaque background.
317+- **focusStyle** — `focusStyle: { bgColor, fgColor, ... }` on containers overrides styles when focused. Participates in inheritance.
318+- **Uncontrolled focus by default** — Tab/Shift+Tab/Escape/click just work. Provide `focused` prop to opt into controlled mode.
287319 - **Escape unfocuses** the current element.
288-- **Tab/Shift+Tab** traverses focusable elements in document order (wraps around).
320+- **Tab/Shift+Tab** traverses focusable elements in document order (wraps around). After Escape, traversal continues from the element that lost focus (not from the start).
289321 - **Enter** activates a focused clickable container (fires onClick).
290322 - **TextInput consumes editing keys** when focused (printable chars, arrows, backspace, delete). Modifier combos (ctrl+s) bubble up through ancestors via onKeyPress.
291323 - **Mouse click** on a focusable element fires onFocus (and onBlur on previous).
docs/html/media/spec.md+150−58
@@ -62,7 +62,7 @@ HStack(props, children);
6262
6363 ### Container Props
6464
65-Shared by both VStack and HStack:
65+Shared by both VStack and HStack. Containers also accept styling props (see [Styling](#styling)).
6666
6767 | Prop | Type | Description |
6868 | ---------------- | ---------------------------- | ----------------------------------------------- |
@@ -86,6 +86,7 @@ Shared by both VStack and HStack:
8686 | `focused` | `boolean` | Whether this element is focused (controlled) |
8787 | `onFocus` | `() => void` | Called when element receives focus |
8888 | `onBlur` | `() => void` | Called when element loses focus |
89+| `focusStyle` | `StyleProps` | Style overrides applied when focused |
8990 | `onKeyPress` | `(key: string) => void` | Called on key event (bubbles up from focus) |
9091
9192 ### Sizing
@@ -225,7 +226,7 @@ Native terminal text selection (click-drag to highlight/copy) is handled by the
225226
226227 ## Focus Model
227228
228-Focus is **keyboard-driven** and separate from scroll. Focus state is **controlled** — the app owns which element is focused.
229+Focus is **keyboard-driven** and separate from scroll. It supports both **uncontrolled** and **controlled** modes, determined by whether `focused` is provided. This mirrors the scroll model.
229230
230231 - Focus is for interactive widgets (TextInput) and clickable containers (with `onClick`)
231232 - Scroll does not require focus
@@ -244,6 +245,67 @@ Focus is implicit — no `focusable` prop needed for the common case:
244245
245246 When a TextInput is focused, text-editing keys (printable characters, arrows, backspace, Tab) go to the input. Modifier combos (e.g., `ctrl+s`) are not consumed by TextInput and bubble up. Press Escape to leave the input, then Tab to traverse.
246247
248+### Uncontrolled Focus
249+
250+**Uncontrolled** (default) — the framework manages focus internally. Tab, Shift+Tab, Escape, and mouse clicks just work with no app-side state:
251+
252+```ts
253+HStack({ onClick: handleAction }, [Text("[ Action ]", { bold: true })]);
254+```
255+
256+The framework tracks which element is focused. `onFocus` and `onBlur` are optional notification callbacks — they fire when focus changes but are not required for focus to work:
257+
258+```ts
259+HStack(
260+ {
261+ onClick: handleAction,
262+ onFocus: () => addLog("button focused"),
263+ onBlur: () => addLog("button blurred"),
264+ },
265+ [Text("[ Action ]", { bold: true })],
266+);
267+```
268+
269+### Controlled Focus
270+
271+**Controlled** — when `focused` is explicitly provided, the app owns the focus state. The framework calls `onFocus` and `onBlur` but does not move focus until the app updates `focused`:
272+
273+```ts
274+TextInput({
275+ value: text,
276+ onChange: handleChange,
277+ focused: isEditorFocused,
278+ onFocus: () => {
279+ isEditorFocused = true;
280+ },
281+ onBlur: () => {
282+ isEditorFocused = false;
283+ },
284+});
285+```
286+
287+Only one element can be focused at a time. In controlled mode, the app is responsible for ensuring this — if multiple elements set `focused: true`, the first in document order wins.
288+
289+### Focus Style
290+
291+The `focusStyle` prop provides visual feedback when an element is focused. It accepts a `StyleProps` object whose values override the element's normal styles while focused:
292+
293+```ts
294+HStack(
295+ {
296+ onClick: handleAction,
297+ bgColor: "black",
298+ fgColor: "white",
299+ focusStyle: { bgColor: "cyan", fgColor: "black" },
300+ },
301+ [Text("[ Action ]", { bold: true })],
302+);
303+```
304+
305+When this element receives focus, the container background becomes cyan and descendant Text nodes that don't set their own `fgColor` inherit black instead of white. When focus leaves, the normal styles resume.
306+
307+`focusStyle` works in both uncontrolled and controlled modes.
308+
247309 ---
248310
249311 ## Key Handling
@@ -288,26 +350,6 @@ When a clickable container is focused, **Enter** fires its `onClick`.
288350
289351 Clicking a focusable element also focuses it. This bridges the keyboard and mouse models — click a TextInput to start typing, click a button to focus it.
290352
291-### Controlled Focus
292-
293-The app owns focus state via `focused`, `onFocus`, and `onBlur` props on focusable elements:
294-
295-```ts
296-TextInput({
297- value: text,
298- onChange: handleChange,
299- focused: isFocused,
300- onFocus: () => {
301- isFocused = true;
302- },
303- onBlur: () => {
304- isFocused = false;
305- },
306-});
307-```
308-
309-Only one element can be focused at a time. The app is responsible for ensuring this — if multiple elements set `focused: true`, the first in document order wins.
310-
311353 ---
312354
313355 ## Layering
@@ -344,11 +386,25 @@ cel.viewport(() => [
344386 onClick: dismissModal,
345387 },
346388 [
347- VStack({ width: 40, height: 15 }, [
389+ VStack({ width: 40, height: 15, bgColor: "black" }, [
348390 Text("Are you sure?"),
349391 HStack({ gap: 1 }, [
350- HStack({ onClick: handleYes }, [Text("[Yes]")]),
351- HStack({ onClick: handleNo }, [Text("[No]")]),
392+ HStack(
393+ {
394+ onClick: handleYes,
395+ bgColor: "brightBlack",
396+ focusStyle: { bgColor: "green" },
397+ },
398+ [Text(" Yes ", { bold: true })],
399+ ),
400+ HStack(
401+ {
402+ onClick: handleNo,
403+ bgColor: "brightBlack",
404+ focusStyle: { bgColor: "red" },
405+ },
406+ [Text(" No ", { bold: true })],
407+ ),
352408 ]),
353409 ]),
354410 ],
@@ -380,7 +436,7 @@ Text(content: string, props?: TextProps)
380436 | `repeat` | `number \| "fill"` | Repeat content N times or fill width |
381437 | `wrap` | `"none" \| "word"` | Wrapping mode (default: `"none"`) |
382438
383-Text also accepts the shared styling props (see Styling Props below).
439+Text also accepts styling props (see [Styling](#styling)).
384440
385441 #### Repeat
386442
@@ -404,7 +460,7 @@ Whitespace is always preserved. `\n` in content produces explicit line breaks.
404460
Cut short: this commit's diff is over 1000 lines.
docs/html/types/types_src.Color.html+1−1
Cut short: this commit's diff is over 1000 lines.
docs/html/types/types_src.Node.html+1−1
Cut short: this commit's diff is over 1000 lines.
docs/html/types/types_src.SizeValue.html+1−1
Cut short: this commit's diff is over 1000 lines.
docs/html/variables/core_src.EMPTY_CELL.html+1−1
Cut short: this commit's diff is over 1000 lines.
docs/html/variables/core_src.cel.html+5−5
Cut short: this commit's diff is over 1000 lines.
docs/md/README.md+4−3
Cut short: this commit's diff is over 1000 lines.
docs/md/_media/SKILL.md+50−18
Cut short: this commit's diff is over 1000 lines.
docs/md/_media/spec.md+150−58
Cut short: this commit's diff is over 1000 lines.
docs/md/components/src/functions/Button.md+1−1
Cut short: this commit's diff is over 1000 lines.
docs/md/components/src/functions/Divider.md+1−1
Cut short: this commit's diff is over 1000 lines.
docs/md/components/src/functions/Spacer.md+1−1
Cut short: this commit's diff is over 1000 lines.
docs/md/components/src/interfaces/ButtonProps.md+6−6
Cut short: this commit's diff is over 1000 lines.
docs/md/components/src/interfaces/DividerProps.md+3−3
Cut short: this commit's diff is over 1000 lines.
docs/md/core/src/classes/CellBuffer.md+11−11
Cut short: this commit's diff is over 1000 lines.
docs/md/core/src/classes/MockTerminal.md+13−13
Cut short: this commit's diff is over 1000 lines.
docs/md/core/src/classes/ProcessTerminal.md+8−8
Cut short: this commit's diff is over 1000 lines.
docs/md/core/src/functions/HStack.md+1−1
Cut short: this commit's diff is over 1000 lines.
docs/md/core/src/functions/Text.md+1−1
Cut short: this commit's diff is over 1000 lines.
docs/md/core/src/functions/TextInput.md+1−1
Cut short: this commit's diff is over 1000 lines.
docs/md/core/src/functions/VStack.md+1−1
Cut short: this commit's diff is over 1000 lines.
docs/md/core/src/functions/emitBuffer.md+1−1
Cut short: this commit's diff is over 1000 lines.
docs/md/core/src/functions/extractAnsiCode.md+1−1
Cut short: this commit's diff is over 1000 lines.
docs/md/core/src/functions/visibleWidth.md+1−1
Cut short: this commit's diff is over 1000 lines.
docs/md/core/src/interfaces/Cell.md+7−7
Cut short: this commit's diff is over 1000 lines.
docs/md/core/src/interfaces/Terminal.md+8−8
Cut short: this commit's diff is over 1000 lines.
docs/md/core/src/variables/EMPTY_CELL.md+1−1
Cut short: this commit's diff is over 1000 lines.
docs/md/core/src/variables/cel.md+1−1
Cut short: this commit's diff is over 1000 lines.
docs/md/types/src/interfaces/ContainerNode.md+4−4
Cut short: this commit's diff is over 1000 lines.
docs/md/types/src/interfaces/ContainerProps.md+130−25
Cut short: this commit's diff is over 1000 lines.
docs/md/types/src/interfaces/StyleProps.md+10−9
Cut short: this commit's diff is over 1000 lines.
docs/md/types/src/interfaces/TextInputNode.md+3−3
Cut short: this commit's diff is over 1000 lines.
docs/md/types/src/interfaces/TextInputProps.md+77−45
Cut short: this commit's diff is over 1000 lines.
docs/md/types/src/interfaces/TextNode.md+4−4
Cut short: this commit's diff is over 1000 lines.
docs/md/types/src/interfaces/TextProps.md+8−8
Cut short: this commit's diff is over 1000 lines.
docs/md/types/src/type-aliases/Color.md+1−1
Cut short: this commit's diff is over 1000 lines.
docs/md/types/src/type-aliases/Node.md+1−1
Cut short: this commit's diff is over 1000 lines.
docs/md/types/src/type-aliases/SizeValue.md+1−1
Cut short: this commit's diff is over 1000 lines.