ailin-nemui-irssi/_sources/documentation/help/window_resizing.md.txt
2021-10-22 22:16:28 +02:00

58 lines
2.6 KiB
Plaintext

# window: split window resizing
<!-- comment
Please submit changes to
- https://github.com/ailin-nemui/irssi/blob/master/docs/help/in/window.in
- https://github.com/ailin-nemui/irssi/blob/master/src/fe-common/core/fe-log.c
- https://github.com/ailin-nemui/irssi/blob/master/src/fe-common/core/window-commands.c
- https://github.com/ailin-nemui/irssi/blob/master/src/fe-text/mainwindows.c
- https://github.com/ailin-nemui/irssi/blob/master/src/fe-text/textbuffer-commands.c
endcomment -->
## Syntax ##
<div class="irssisyntax highlight"><pre style="\-\-cmdlen:11ch"><code><span class="synB">WINDOW</span> <span class="synB">GROW</span> <span class="syn10">[<span class="syn">-right</span>]</span> <span class="syn10">[<span class="syn09">&lt;lines></span>|<span class="syn09">&lt;columns></span>]</span></code></pre></div>
<div class="irssisyntax highlight"><pre style="\-\-cmdlen:13ch"><code><span class="synB">WINDOW</span> <span class="synB">SHRINK</span> <span class="syn10">[<span class="syn">-right</span>]</span> <span class="syn10">[<span class="syn09">&lt;lines></span>|<span class="syn09">&lt;columns></span>]</span></code></pre></div>
<div class="irssisyntax highlight"><pre style="\-\-cmdlen:11ch"><code><span class="synB">WINDOW</span> <span class="synB">SIZE</span> <span class="syn10">[<span class="syn">-right</span>]</span> <span class="synB05">&lt;lines></span>|<span class="synB05">&lt;columns></span></code></pre></div>
<div class="irssisyntax highlight"><pre style="\-\-cmdlen:14ch"><code><span class="synB">WINDOW</span> <span class="synB">BALANCE</span> <span class="syn10">[<span class="syn">-right</span>]</span></code></pre></div>
## Parameters ##
| | |
| --- | --- |
| `GROW`: | Increase the size of the active split window by the specified number of lines. |
| `SHRINK`: | Decrease the size of the active split window by the specified number of lines. |
| `SIZE`: | Set the current split window size to the specified number of lines. |
| `BALANCE`: | Balance the heights of all split windows. |
| | |
| --- | --- |
| `-right`: | Makes the command work on the width instead of height, or create the split window to the right instead of top. |
Add the required arguments for the given command. Without arguments, the details (size, immortality, levels, server, name and sticky group) of the currently active window are displayed. If used with a number as argument, same as WINDOW REFNUM.
## Description ##
Manipulates the window layout and positioning attributes.
## Examples ##
## See also ##
[JOIN](/documentation/help/join), [LEVELS](/documentation/help/levels), [LOG](/documentation/help/log), [QUERY](/documentation/help/query)