:::{important} You are reading the help for Irssi 1.0. **The current release version is Neırssi 1.3.**
:::

# window changing

<!-- 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


endcomment -->


## Syntax ##

<div class="irssisyntax highlight"><pre style="\-\-cmdlen:13ch"><code><span class="synB">WINDOW</span> <span class="synB">REFNUM</span> <span class="synB05">&lt;number></span></code></pre></div>


<div class="irssisyntax highlight"><pre style="\-\-cmdlen:11ch"><code><span class="synB">WINDOW</span> <span class="synB">GOTO</span> <span class="synB">active</span>|<span class="synB05">&lt;number></span>|<span class="synB05">&lt;name></span></code></pre></div>


<div class="irssisyntax highlight"><pre style="\-\-cmdlen:10ch"><code><span class="synB">WINDOW</span> <span class="synB">NEXT</span></code></pre></div>


<div class="irssisyntax highlight"><pre style="\-\-cmdlen:10ch"><code><span class="synB">WINDOW</span> <span class="synB">LAST</span></code></pre></div>


<div class="irssisyntax highlight"><pre style="\-\-cmdlen:14ch"><code><span class="synB">WINDOW</span> <span class="synB">PREVIOUS</span></code></pre></div>


<div class="irssisyntax highlight"><pre style="\-\-cmdlen:10ch"><code><span class="synB">WINDOW</span> <span class="synB">LEFT</span></code></pre></div>


<div class="irssisyntax highlight"><pre style="\-\-cmdlen:11ch"><code><span class="synB">WINDOW</span> <span class="synB">RIGHT</span></code></pre></div>



## Parameters ##


| | |
| --- | --- |
| `REFNUM`: | Go to the window with the given number. |
| `GOTO`: | Go to the window with activity, with the given nickname, channel or with the specified number. |
| `NEXT`: | Go to the next window numerically. |
| `LAST`: | Go to the previously active window. |
| `PREVIOUS`: | Go to the previous window numerically. |
| `LEFT`: | Go to the previous window numerically that is part of the current sticky group (or not part of any sticky group). |
| `RIGHT`: | Go to the next window numerically that is part of the current sticky group (or not part of any sticky group). |

   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 ##

    /WINDOW GOTO 15
    /WINDOW GOTO ACTIVE
    /WINDOW GOTO mike
    /WINDOW GOTO #irssi

## See also ##
[JOIN](/documentation/help/1.0/join), [LEVELS](/documentation/help/1.0/levels), [LOG](/documentation/help/1.0/log), [QUERY](/documentation/help/1.0/query)

