summaryrefslogtreecommitdiffstats
path: root/cmd-list-panes.c
AgeCommit message (Collapse)Author
2012-07-11Make command exec functions return an enum rather than -1/0/1 values andNicholas Marriott
add a new value to mean "leave client running but don't attach" to fix problems with using some commands in a command sequence. Most of the work by Thomas Adam, problem reported by "jspenguin" on SF bug 3535531.
2012-07-10xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott
2011-11-15Add a pane_index format string and use it, from Ben Boeckel.Nicholas Marriott
2011-08-26Add initial framework for more powerful formatting of command output andNicholas Marriott
use it for list-{panes,windows,sessions}. This allows more descriptive replacements (such as #{session_name}) and conditionals. Later this will be used for status_replace and list-keys and other places.
2011-07-04Show full targets for lsp/lsw -a.Nicholas Marriott
2011-04-05Add a flag to cmd_find_session so that attach-session can preferNicholas Marriott
unattached sessions when choosing the most recently used (if -t is not given). Suggested by claudio@.
2011-03-28Add -a and -s options to lsp to list all panes in the server or sessionNicholas Marriott
respectively. Likewise add -s to lsw. From Ben Boeckel.
2011-03-27Give each pane created in a tmux server a unique id (starting from 0),Nicholas Marriott
put it in the TMUX_PANE environment variable and accept it as a target. Suggested by and with testing and tweaks from Ben Boeckel.
2011-01-04Clean up and simplify tmux command argument parsing.Nicholas Marriott
Originally, tmux commands were parsed in the client process into a struct with the command data which was then serialised and sent to the server to be executed. The parsing was later moved into the server (an argv was sent from the client), but the parse step and intermediate struct was kept. This change removes that struct and the separate parse step. Argument parsing and printing is now common to all commands (in arguments.c) with each command left with just an optional check function (to validate the arguments at parse time), the exec function and a function to set up any key bindings (renamed from the old init function). This is overall more simple and consistent. There should be no changes to any commands behaviour or syntax although as this touches every command please watch for any unexpected changes.
2010-11-15Show more window and pane flags in list-* output, and put layout on theNicholas Marriott
same line.
2010-08-11Show which pane is active in the list-panes output, suggested by DominikNicholas Marriott
Honnef.
2009-12-03Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastNicholas Marriott
time now I've configured emacs to make them displayed in really annoying colours...
2009-11-13Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in theNicholas Marriott
command entry structs and a couple of functions to check/set the flags.
2009-10-15The pane pty name isn't useful for anything so show the pane number instead.Nicholas Marriott
2009-10-10Split list-panes off from list-windows.Nicholas Marriott