# $EPIC: window_kill.txt,v 1.4 2012/07/04 06:30:23 jnelson Exp $
Synopsis:
Description:
This destroys the current window. If this is the last window connected to
a server, the server is disconnected.
A window can't be killed if:
-
It is the last
non-fixed window on a screen and there are no hidden windows to take its place.
Process:
-
If the window is the final window on the screen, it is swapped out
Otherwise, it is hidden (made invisible)
The window's scrollback and lastlog histories are deleted.
The window's queries and nicklist are deleted
The window's channels ARE NOT
PARTED, they are moved to another window.
-
History:
This operation was already present in ircII2.1.5g.