summaryrefslogtreecommitdiffstats
path: root/cmd-capture-pane.c
AgeCommit message (Collapse)Author
2011-12-27Extend history that can be captured to INT_MIN rather thanNicholas Marriott
SHRT_MIN. From Chris Johnsen.
2011-08-30Another memory leak from Tiago Cunha.Nicholas Marriott
2011-05-08Fix a couple of memory leaks, from Tiago Cunha.Nicholas Marriott
2011-03-28Allow a start and end line to be specified for capture-pane which may beNicholas Marriott
negative to capture part of the history. Prompted by request from Victor J Orlikowski.
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-12-30Remove some unused defines.Nicholas Marriott
2010-12-30Change from a per-session stack of buffers to one global stack which isNicholas Marriott
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.
2010-01-20Don't leak line, from Tiago Cunha.Nicholas Marriott
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-12-01New command, capture-pane, which copies the entire pane contents to a pasteNicholas Marriott
buffer. From Jonathan Alvarado.