aboutsummaryrefslogtreecommitdiff
path: root/cmd-choose-buffer.c
Commit message (Collapse)AuthorAge
* Use a separate define for each default format template and strip clutterNicholas Marriott2012-08-14
| | | | from the choose-tree defaults.
* Make command exec functions return an enum rather than -1/0/1 values andNicholas Marriott2012-07-11
| | | | | | 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.
* xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott2012-07-10
|
* Provide common helper function for adding windows and sessions to chooseNicholas Marriott2012-06-25
| | | | | lists and expand %% in command before using it rather than at callback time. From Thomas Adam.
* Clean up and simplify the choose mode code, from Thomas Adam.Nicholas Marriott2012-06-25
|
* Switch all of the various choose- and list- commands over to the formatNicholas Marriott2012-05-22
| | | | infrastructure, from Thomas Adam.
* Clean up and simplify tmux command argument parsing.Nicholas Marriott2011-01-04
| | | | | | | | | | | | | | | | | | | 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.
* Remove unused variable.Nicholas Marriott2011-01-01
|
* Change from a per-session stack of buffers to one global stack which isNicholas Marriott2010-12-30
| | | | | | | much more convenient and also simplifies lot of code. This renders copy-buffer useless and makes buffer-limit now a server option. By Tiago Cunha.
* Add a choose-buffer command for easier use of the paste buffer stack.Nicholas Marriott2010-06-21