summaryrefslogtreecommitdiffstats
path: root/cmd-kill-window.c
AgeCommit message (Collapse)Author
2009-07-15The man page says that kill-window removes the window entirely, unlinking itNicholas Marriott
from any sessions. In fact the implementation only affected the current session, making it the same as unlink-window but destroying the window if it was linked into only one session (unlinkw gives an error). Change the behaviour to match what it documented and was originally intended.
2009-07-14Having fixed flags for single-character getopt options is a bit hard toNicholas Marriott
maintain and is only going to get worse as more are used. So instead, add a new uint64_t member to cmd_entry which is a bitmask of upper and lowercase options accepted by the command. This means new single character options can be used without the need to add it explicitly to the list.
2009-01-19Pass return code from _exec; allow command sequences to work from the ↵Nicholas Marriott
command line.
2008-06-06New flag: aggressize resize. Resize window when to size of smallest session ↵Nicholas Marriott
for which it is _current_ window.
2008-06-05Big reorganisation of command-line syntax.Nicholas Marriott
2008-06-05Easy bits of arg printing for list-keys.Nicholas Marriott
2008-06-03If no command is specified, assume new-session.Nicholas Marriott
2008-06-02Add a windowonly generic command and use it where appropriate. Also trim ↵Nicholas Marriott
includes and unused.
2008-06-02Last bits of basic configuration file. By default in ~/.tmux.conf or ↵Nicholas Marriott
specified with -f. Just a list of tmux commands executed when the server is started and before and any session/window is created.
2008-06-02Move -s and -c down a level so handling them is the responsibility of the ↵Nicholas Marriott
command (with some helper functions), rather than the top-level. This changes the action command syntax so that -s and -c must be after the command rather than before.
2007-12-06Major reorganisation of screen handling.Nicholas Marriott
2007-11-16Add -c option to specify client, and move detach/refresh to client rather ↵Nicholas Marriott
than session.
2007-11-13Use ctx->client/ctx->session inline instead of temporary variables which wereNicholas Marriott
being reused and causing confusion and problems.
2007-10-30%u -> %d for indexes. Some lint fixes.Nicholas Marriott
2007-10-26unlink-window command. Also fix some u_int -> int problems.Nicholas Marriott
2007-10-26Reorg window data structures. Add an intermediate data type (struct winlink) ↵Nicholas Marriott
to hold index and make sessions hold a RB tree of them rather than a fixed array.
2007-10-19Kill window command. Nuke some backspace stuff.Nicholas Marriott