<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>docs/config/lua/MuxTab/panes_with_info.md - fork/wezterm @ termwiz-0.23.0</title>
<meta name="description" content="docs/config/lua/MuxTab/panes_with_info.md in fork/wezterm at termwiz-0.23.0.">
<meta property="og:title" content="docs/config/lua/MuxTab/panes_with_info.md - fork/wezterm @ termwiz-0.23.0">
<meta property="og:description" content="docs/config/lua/MuxTab/panes_with_info.md in fork/wezterm at termwiz-0.23.0.">
<meta property="og:type" content="website">
<meta property="og:site_name" content="git.julia.blue">
<link rel="stylesheet" href="/css/style.css?v=62">
<script type="module" src="/js/main.js?v=62"></script>
</head>
<body>
<main data-ref="termwiz-0.23.0" data-tip="958804c8ac16b750954b3bcaaf847e7498cd2205">
<noscript>
  <div class="callout">
    <p>
      hey! this is a static git repo viewer. commit diffs, file history,
      older commits and other revisions won't load without javascript.
    </p>
    <p>
      you are still able to view source files on branch/tag tips,
      but the experience is degraded.
    </p>
  </div>
</noscript>
<header class="repo"><div>
<h1>fork/wezterm</h1>
</div>
<pre class="clone">git clone https://git.julia.blue/fork/wezterm</pre>
</header>
<p class="snapshot-commit"><span class="commit-author">mozumasu</span><span class="commit-message" data-commit="f1f87df0448830ed66589eb5540bec2d77546576">fix: docs typos</span><span class="snapshot-sha sha" data-commit="f1f87df0448830ed66589eb5540bec2d77546576">f1f87df04</span><time datetime="2024-09-01T21:30:12+09:00" title="2024-09-01 21:30:12 +0900">2024-09-01</time></p>
<header class="topbar"><details class="switcher"><summary>termwiz-0.23.0</summary><div class="menu"><strong>branches</strong><a href="/fork/wezterm/ref/main/">main</a><strong>tags</strong><a href="/fork/wezterm/ref/termiz-0.23.1/">termiz-0.23.1</a><a href="/fork/wezterm/ref/termiz-0.23.2/">termiz-0.23.2</a><a href="/fork/wezterm/ref/termiz-0.23.3/">termiz-0.23.3</a><a class="current" href="/fork/wezterm/ref/termwiz-0.23.0/">termwiz-0.23.0</a><a href="/fork/wezterm/ref/termwiz-0.23.1/">termwiz-0.23.1</a><a href="/fork/wezterm/ref/termwiz-0.23.2/">termwiz-0.23.2</a><a href="/fork/wezterm/ref/termwiz-0.23.3/">termwiz-0.23.3</a><a href="/fork/wezterm/ref/vtparse-0.7.0/">vtparse-0.7.0</a><a class="all" href="/fork/wezterm/refs">all refs →</a></div></details><nav class="crumbs"><a href="/fork/wezterm/">wezterm</a> / <a href="/fork/wezterm/ref/termwiz-0.23.0/tree/docs/">docs</a> / <a href="/fork/wezterm/ref/termwiz-0.23.0/tree/docs/config/">config</a> / <a href="/fork/wezterm/ref/termwiz-0.23.0/tree/docs/config/lua/">lua</a> / <a href="/fork/wezterm/ref/termwiz-0.23.0/tree/docs/config/lua/MuxTab/">MuxTab</a> / <span class="cur">panes_with_info.md</span></nav>
<span class="view-stats"><span>885 B</span><span>19 lines</span></span><span class="actions"><a class="raw" href="/fork/wezterm/raw/beb9f173f7cb30b25e95836128f8059178967aeb/docs/config/lua/MuxTab/panes_with_info.md">raw</a></span></header>
<div class="markdown-view"><input type="radio" name="markdown-view" id="markdown-rendered" checked><label for="markdown-rendered">rendered</label><input type="radio" name="markdown-view" id="markdown-code"><label for="markdown-code">code</label><section class="readme rendered"><h1><code>tab:panes_with_info()</code></h1>
<p>{{since('20220807-113146-c2fee766')}}</p>
<p>Returns an array table containing an extended info entry for each of the panes
contained by this tab.</p>
<p>Each element is a lua table with the following fields:</p>
<ul>
<li><code>index</code> - the topological pane index</li>
<li><code>is_active</code> - a boolean indicating whether this is the active pane within the tab</li>
<li><code>is_zoomed</code> - a boolean indicating whether this pane is zoomed</li>
<li><code>left</code> - The offset from the top left corner of the containing tab to the top left corner of this pane, in cells.</li>
<li><code>top</code> - The offset from the top left corner of the containing tab to the top left corner of this pane, in cells.</li>
<li><code>width</code> - The width of this pane in cells</li>
<li><code>height</code> - The height of this pane in cells</li>
<li><code>pixel_width</code> - The width of this pane in pixels</li>
<li><code>pixel_height</code> - The height of this pane in pixels</li>
<li><code>pane</code> - The <a href="../pane/index.md">Pane</a> object</li>
</ul>
</section><div class="code-panel"><pre class="code src language-markdown"><span class="code-line"><a class="ln" id="L1" href="#L1">1</a><span class="code-text"><a-p>#</a-p> <a-tt>`tab:panes_with_info()`</a-tt></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2" href="#L2">2</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3" href="#L3">3</a><span class="code-text">{{since(&#39;20220807-113146-c2fee766&#39;)}}</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4" href="#L4">4</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5" href="#L5">5</a><span class="code-text">Returns an array table containing an extended info entry for each of the panes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6" href="#L6">6</a><span class="code-text">contained by this tab.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7" href="#L7">7</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8" href="#L8">8</a><span class="code-text">Each element is a lua table with the following fields:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L9" href="#L9">9</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L10" href="#L10">10</a><span class="code-text"><a-p>* </a-p>`index` - the topological pane index</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L11" href="#L11">11</a><span class="code-text"><a-p>* </a-p>`is_active` - a boolean indicating whether this is the active pane within the tab</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L12" href="#L12">12</a><span class="code-text"><a-p>* </a-p>`is_zoomed` - a boolean indicating whether this pane is zoomed</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L13" href="#L13">13</a><span class="code-text"><a-p>* </a-p>`left` - The offset from the top left corner of the containing tab to the top left corner of this pane, in cells.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L14" href="#L14">14</a><span class="code-text"><a-p>* </a-p>`top` - The offset from the top left corner of the containing tab to the top left corner of this pane, in cells.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L15" href="#L15">15</a><span class="code-text"><a-p>* </a-p>`width` - The width of this pane in cells</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L16" href="#L16">16</a><span class="code-text"><a-p>* </a-p>`height` - The height of this pane in cells</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L17" href="#L17">17</a><span class="code-text"><a-p>* </a-p>`pixel_width` - The width of this pane in pixels</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L18" href="#L18">18</a><span class="code-text"><a-p>* </a-p>`pixel_height` - The height of this pane in pixels</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L19" href="#L19">19</a><span class="code-text"><a-p>* </a-p>`pane` - The [Pane](../pane/index.md) object</span></span></pre></div></div>
</main>
</body>
</html>
