summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-save-buffer.c
AgeCommit message (Expand)Author
2022-12-07Process escape sequences in show-buffer, GitHub issue 3401.Nicholas Marriott
2021-08-21Add args parsing callback for some future work, currently unused.Nicholas Marriott
2021-08-20Hide struct args behind a couple of accessor functions.Nicholas Marriott
2021-02-11O_TRUNC is needed in case file exists.Nicholas Marriott
2020-07-21Fix show-buffer when run from inside tmux, GitHub issue 2314.Nicholas Marriott
2020-04-13Make client -c and -t handling common in cmd-queue.c and try to beNicholas Marriott
2020-04-13Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make itsNicholas Marriott
2020-04-13Make struct cmd local to cmd.c and move it out of tmux.h.Nicholas Marriott
2019-12-12Rewrite the code for reading and writing files. Now, if the client isNicholas Marriott
2019-06-13Use the right client when working out where to save or load the buffer,Nicholas Marriott
2018-07-31Do not leak path or use it after free.Nicholas Marriott
2018-07-11Expand formats in load-buffer and save-buffer.Nicholas Marriott
2017-04-22Memory leaks, from David CARLIER.Nicholas Marriott
2017-02-14Make source-file look for files relative to the client working directoryNicholas Marriott
2017-01-06Nits found with clang.Nicholas Marriott
2016-10-16Mass rename struct cmd_q to struct cmdq_item and related.Nicholas Marriott
2016-10-14Add CMD_AFTERHOOK flag to the easy commands that don't need any special handl...Nicholas Marriott
2016-10-10Add static in cmd-* and fix a few other nits.Nicholas Marriott
2016-03-05Do not use c->cwd or s->cwd if it is NULL, found by Ben Boeckel.Nicholas Marriott
2015-12-13Use member names in cmd_entry definitions so I stop getting confusedNicholas Marriott
2015-12-13Instead of every command resolving the target (-t or -s) itself, prepareNicholas Marriott
2015-11-14Push stdout and stderr to clients more aggressively, and add an event toNicholas Marriott
2015-11-10If realpath() fails just try the original path.Nicholas Marriott
2015-11-10Handle absolute paths properly, and don't use resolved path inNicholas Marriott
2015-10-31Because pledge(2) does not allow us to pass directory file descriptorsNicholas Marriott
2015-08-29paste_send_pane can be merged into cmd-paste-buffer.c now.Nicholas Marriott
2015-08-29Move struct paste_buffer out of tmux.h.Nicholas Marriott
2015-04-27Rewrite of the target resolution internals to be simpler and moreNicholas Marriott
2014-10-20Instead of setting up the default keys by building the key structNicholas Marriott
2014-10-08Add xreallocarray and remove nmemb argument from xrealloc.Nicholas Marriott
2014-05-13Add support for named buffers. If you don't name a buffer, things workNicholas Marriott
2014-04-24There is no longer a need for a paste_stack struct or for global_buffersNicholas Marriott
2014-04-16Memory leak in error path and unnecessary assignment, from clang.Nicholas Marriott
2014-04-07save-buffer needs to use O_TRUNC.Nicholas Marriott
2013-10-10Alter how tmux handles the working directory to internally use fileNicholas Marriott
2013-10-10Remove the barely-used and unnecessary command check() function.Nicholas Marriott
2013-03-24Add a command queue to standardize and simplify commands that call otherNicholas Marriott
2013-03-24Merge show-buffer into save-buffer.Nicholas Marriott
2013-03-22Fix so capture-pane/save-buffer can work in control clients, from GeorgeNicholas Marriott
2012-07-11Make command exec functions return an enum rather than -1/0/1 values andNicholas Marriott
2012-07-10xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott
2012-05-21Instead of passing stdin/stdout/stderr file descriptors over imsg andNicholas Marriott
2012-03-21Fix save-buffer usage, from Kazuhiko Sakaguchi.Nicholas Marriott
2011-10-23Try to resolve relative paths for loadb and saveb (first using clientNicholas Marriott
2011-10-23Plug a memory leak and update some comments, from Tiago Cunha.Nicholas Marriott
2011-01-04Clean up and simplify tmux command argument parsing.Nicholas Marriott
2010-12-30Change from a per-session stack of buffers to one global stack which isNicholas Marriott
2010-07-24When changing so that the client passes its stdout and stderr as well asNicholas Marriott
2010-06-28Send all three of stdin, stdout, stderr from the client to the server, so thatNicholas Marriott
2009-11-13Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in theNicholas Marriott