(C-a k, C-a C-k)
Kill the current window.
If there is an
exec command running (see Exec) then it is killed.
Otherwise the process (e.g. shell) running in the window receives a
the window structure is removed and screen (your display) switches to another
window. When the last window is destroyed,
After a kill screen switches to the previously displayed window.
emacs users may find themselves killing their
emacs session when trying to delete the current line. For this
reason, it is probably wise to use a different command character
(see Command Character) or rebind
kill to another key
sequence, such as C-a K (see Key Binding).