Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use VIS_CSTYLE for paste buffers also. | 2020-05-16 | 1 | -2/+2 | |
| | |||||
* | Add 'e' key in buffer mode to open the buffer in an editor. | 2020-05-16 | 1 | -1/+10 | |
| | |||||
* | Add an argument to copy commands to set the prefix for the buffer name, | 2019-04-02 | 1 | -4/+7 | |
| | | | | allows buffers for different sessions to be named separately. | ||||
* | Shorten a long line, and don't leak buffer in paste_add if size is zero. | 2017-01-24 | 1 | -2/+4 | |
| | |||||
* | Unused variable and missing time.h. | 2016-10-12 | 1 | -2/+2 | |
| | |||||
* | Some other stuff that can be local to one file. | 2016-10-11 | 1 | -3/+3 | |
| | |||||
* | Some more static. | 2016-10-10 | 1 | -12/+12 | |
| | |||||
* | Keep buffer creation time and add accessors for it and the order number. | 2016-10-05 | 1 | -2/+21 | |
| | |||||
* | I no longer use my SourceForge address so replace it. | 2016-01-19 | 1 | -2/+2 | |
| | |||||
* | Nuke the utf8 and status-utf8 options and make tmux only a UTF-8 | 2015-11-12 | 1 | -6/+3 | |
| | | | | | terminal. We still support non-UTF-8 terminals outside tmux, but inside it is always UTF-8 (as when the utf8 and status-utf8 options were on). | ||||
* | Move struct options into options.c. | 2015-10-27 | 1 | -2/+2 | |
| | |||||
* | Remove some extra blank lines. | 2015-09-14 | 1 | -2/+1 | |
| | |||||
* | Merge delete-buffer into cmd-set-buffer.c and change the paste buffer | 2015-09-11 | 1 | -31/+8 | |
| | | | | | API so it has one paste_free() rather than free_top and free_name (everywhere that uses it already has the right pointer). | ||||
* | paste_send_pane can be merged into cmd-paste-buffer.c now. | 2015-08-29 | 1 | -30/+1 | |
| | |||||
* | Move struct paste_buffer out of tmux.h. | 2015-08-29 | 1 | -3/+33 | |
| | |||||
* | When replacing, don't free the old paste until after the new one's name | 2015-04-07 | 1 | -4/+4 | |
| | | | | | has been copied. Fixes a use-after-free in window-copy.c. Bug reported by J Raynor (who also provided a different fix). | ||||
* | Tidy up mode-mouse check. | 2014-11-05 | 1 | -3/+3 | |
| | |||||
* | Add xreallocarray and remove nmemb argument from xrealloc. | 2014-10-08 | 1 | -2/+2 | |
| | |||||
* | Use xrealloc(NULL, n, m) instead of xmalloc(n * m) to get overflow | 2014-10-08 | 1 | -2/+2 | |
| | | | | check. | ||||
* | Various minor style and spacing nits. | 2014-09-01 | 1 | -3/+3 | |
| | |||||
* | Don't allow pasting into input-disabled panes, from Anish R Athalye. | 2014-08-25 | 1 | -1/+4 | |
| | |||||
* | Comment style nits. | 2014-06-20 | 1 | -3/+3 | |
| | |||||
* | Don't allow multiple buffers with the same name, from Thomas Adam. | 2014-05-13 | 1 | -3/+10 | |
| | |||||
* | Add support for named buffers. If you don't name a buffer, things work | 2014-05-13 | 1 | -47/+157 | |
| | | | | | | | | much as before - buffers are automatically named "buffer0000", "buffer0001" and so on and ordered as a stack. Buffers can be named explicitly when creating ("loadb -b foo" etc) or renamed ("setb -b buffer0000 -n foo"). If buffers are named explicitly, they are not deleted when buffer-limit is reached. Diff from J Raynor. | ||||
* | There is no longer a need for a paste_stack struct or for global_buffers | 2014-04-24 | 1 | -25/+27 | |
| | | | | to be global. Move to paste.c. | ||||
* | Support UTF-8 with choose-buffer, from Kosuke ASAMI. Also make | 2014-04-02 | 1 | -12/+13 | |
| | | | | buffer_sample bigger to let it trim at window right edge. | ||||
* | Add setb -a to append and a copy mode append command, from J Raynor with | 2014-03-31 | 1 | -2/+2 | |
| | | | | minor changes. | ||||
* | Fix memory leaks with paste_replace, based on changes from J Raynor. | 2014-02-17 | 1 | -2/+4 | |
| | |||||
* | Support middle-click paste, based on a diff from Ailin Nemui. | 2012-11-27 | 1 | -1/+27 | |
| | |||||
* | Trivial code simplification from Tim Ruehsen. | 2012-09-04 | 1 | -5/+3 | |
| | |||||
* | xfree is not particularly helpful, remove it. From Thomas Adam. | 2012-07-10 | 1 | -8/+9 | |
| | |||||
* | Style: uint -> u_int and a missing else. | 2011-03-28 | 1 | -2/+2 | |
| | |||||
* | Change from a per-session stack of buffers to one global stack which is | 2010-12-30 | 1 | -14/+1 | |
| | | | | | | | 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. | 2010-06-21 | 1 | -1/+26 | |
| | |||||
* | Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last | 2009-12-03 | 1 | -3/+3 | |
| | | | | | time now I've configured emacs to make them displayed in really annoying colours... | ||||
* | Tidy up various bits of the paste code, make the data buffer char * and add | 2009-11-26 | 1 | -4/+26 | |
| | | | | comments. | ||||
* | tv member of struct paste_buffer is updated but not otherwise used, so remove | 2009-11-03 | 1 | -5/+1 | |
| | | | | it. | ||||
* | Regularise some fatal messages. | 2009-09-20 | 1 | -3/+3 | |
| | |||||
* | Give each paste buffer a size member instead of requiring them to be | 2009-09-07 | 1 | -3/+5 | |
| | | | | zero-terminated. | ||||
* | Don't leak when rollling buffers off when the paste buffer limit is reached. | 2009-07-30 | 1 | -2/+6 | |
| | |||||
* | Fix two copy/paste bugs: forbid zero-length buffers to prevent a fatal error | 2009-07-02 | 1 | -1/+4 | |
| | | | | | | | when trying to paste them, found by me, and miscalculation of the start/end causing random fatal errors when copying in copy-mode, reported by sthen. ok sthen "put it in" deraadt | ||||
* | Import tmux, a terminal multiplexor allowing (among other things) a single | 2009-06-01 | 1 | -0/+131 | |
terminal to be switched between several different windows and programs displayed on one terminal be detached from one terminal and moved to another. ok deraadt pirofti |