# window

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


## Subcommands


### [window/split window creation](/documentation/help/1.3/window_creation)

<div markdown="1" class="helpindex sub">

* window new 
* window close 
* window list 
* window hide 
* window show 

</div>

:::{toctree}
:maxdepth: 1
:hidden:

creation <window_creation>

:::

### [window changing](/documentation/help/1.3/window_changing)

<div markdown="1" class="helpindex sub">

* window refnum 
* window goto 
* window next 
* window last 
* window previous 
* window left 
* window right 

</div>

:::{toctree}
:maxdepth: 1
:hidden:

changing <window_changing>

:::

### [window attribute manipulation](/documentation/help/1.3/window_properties)

<div markdown="1" class="helpindex sub">

* window level 
* window immortal 
* window server 
* window number 
* window name 
* window history 
* window theme 
* window stick 
* window hidelevel 

</div>

:::{toctree}
:maxdepth: 1
:hidden:

attribute manipulation <window_properties>

:::

### [window items](/documentation/help/1.3/window_items)

<div markdown="1" class="helpindex sub">

* window item prev 
* window item next 
* window item goto 
* window item move 

</div>

:::{toctree}
:maxdepth: 1
:hidden:

items <window_items>

:::

### [window moving/number changing](/documentation/help/1.3/window_moving)

<div markdown="1" class="helpindex sub">

* window number 
* window move prev 
* window move next 
* window move first 
* window move last 
* window move 
* window move left 
* window move right 

</div>

:::{toctree}
:maxdepth: 1
:hidden:

moving/number changing <window_moving>

:::

### [split window resizing](/documentation/help/1.3/window_resizing)

<div markdown="1" class="helpindex sub">

* window grow 
* window shrink 
* window size 
* window balance 

</div>

:::{toctree}
:maxdepth: 1
:hidden:

resizing <window_resizing>

:::

### [split window navigation](/documentation/help/1.3/window_navigation)

<div markdown="1" class="helpindex sub">

* window up 
* window down 
* window left 
* window right 

</div>

:::{toctree}
:maxdepth: 1
:hidden:

navigation <window_navigation>

:::

### [split window moving](/documentation/help/1.3/window_split_moving)

<div markdown="1" class="helpindex sub">

* window stick 
* window move left 
* window move right 
* window move up 
* window move down 

</div>

:::{toctree}
:maxdepth: 1
:hidden:

moving <window_split_moving>

:::

### [logging](/documentation/help/1.3/window_logging)

<div markdown="1" class="helpindex sub">

* window log 
* window logfile 

</div>

:::{toctree}
:maxdepth: 1
:hidden:

logging <window_logging>

:::



## Parameters ##



| | |
| --- | --- |
| `-right`: | Makes the command work on the width instead of height, or create the split window to the right instead of top. |
| `-directional`: | Set the split window in the given direction to the current one active, or move the current window to the sticky group of the split window in the given direction. (If no sticky group remains, the split window collapses.) |

   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 CLOSE
    /WINDOW ITEM MOVE 10
    /WINDOW GOTO 15
    /WINDOW GOTO ACTIVE
    /WINDOW GOTO mike
    /WINDOW GOTO #irssi
    /WINDOW NEW HIDDEN
    /WINDOW LOG OFF
    /WINDOW LOG ON ~/logs/debug.log
    /WINDOW LEVEL -ALL +NOTICES
    /WINDOW LOGFILE ~/logs/notices.log

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

