summaryrefslogtreecommitdiffstats
path: root/paste.c
AgeCommit message (Collapse)Author
2020-05-01Use VIS_CSTYLE for paste buffers also.Nicholas Marriott
2020-05-01Add 'e' key in buffer mode to open the buffer in an editor.Nicholas Marriott
2019-04-02Merge branch 'obsd-master'Thomas Adam
2019-04-02Add an argument to copy commands to set the prefix for the buffer name,nicm
allows buffers for different sessions to be named separately.
2017-01-24Merge branch 'obsd-master'Thomas Adam
2017-01-24Shorten a long line, and don't leak buffer in paste_add if size is zero.nicm
2016-10-13Merge branch 'obsd-master'Thomas Adam
Conflicts: paste.c
2016-10-12Unused variable and missing time.h.nicm
2016-10-12Linux: #include <time.h> for time()Thomas Adam
2016-10-12Merge branch 'obsd-master'Thomas Adam
Conflicts: format.c osdep-openbsd.c
2016-10-11Some other stuff that can be local to one file.nicm
2016-10-10Merge branch 'obsd-master'Thomas Adam
2016-10-10Some more static.nicm
2016-10-05Merge branch 'obsd-master'Thomas Adam
2016-10-05Keep buffer creation time and add accessors for it and the order number.nicm
2016-01-19Merge branch 'obsd-master'Thomas Adam
2016-01-19I no longer use my SourceForge address so replace it.nicm
2015-11-12Merge branch 'obsd-master'Thomas Adam
2015-11-12Nuke the utf8 and status-utf8 options and make tmux only a UTF-8nicm
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).
2015-10-27Merge branch 'obsd-master'Thomas Adam
Conflicts: Makefile client.c server-client.c server.c tmux.c tmux.h
2015-10-27Move struct options into options.c.nicm
2015-09-14Merge branch 'obsd-master'Thomas Adam
2015-09-14Remove some extra blank lines.nicm
2015-09-14Merge branch 'obsd-master'Thomas Adam
Conflicts: Makefile
2015-09-11Merge delete-buffer into cmd-set-buffer.c and change the paste buffernicm
API so it has one paste_free() rather than free_top and free_name (everywhere that uses it already has the right pointer).
2015-08-30Merge branch 'obsd-master'Thomas Adam
Conflicts: Makefile format.c
2015-08-29paste_send_pane can be merged into cmd-paste-buffer.c now.nicm
2015-08-29Move struct paste_buffer out of tmux.h.nicm
2015-04-19Merge branch 'obsd-master'Thomas Adam
2015-04-07When replacing, don't free the old paste until after the new one's namenicm
has been copied. Fixes a use-after-free in window-copy.c. Bug reported by J Raynor (who also provided a different fix).
2014-11-09Merge branch 'obsd-master'Thomas Adam
2014-11-08No need for $Id$ now.Nicholas Marriott
2014-11-05Tidy up mode-mouse check.nicm
2014-10-21Merge branch 'obsd-master'Thomas Adam
Conflicts: Makefile cmd-list-commands.c cmd-suspend-client.c job.c tmux.h xmalloc.c
2014-10-08Add xreallocarray and remove nmemb argument from xrealloc.nicm
2014-10-08Use xrealloc(NULL, n, m) instead of xmalloc(n * m) to get overflownicm
check.
2014-09-25Merge branch 'obsd-master'Thomas Adam
2014-09-01Various minor style and spacing nits.nicm
2014-08-25Don't allow pasting into input-disabled panes, from Anish R Athalye.nicm
2014-08-09Merge branch 'obsd-master'Thomas Adam
Conflicts: client.c
2014-06-20Merge branch 'obsd-master'Thomas Adam
2014-06-20Comment style nits.nicm
2014-05-13Don't allow multiple buffers with the same name, from Thomas Adam.nicm
2014-05-13Merge branch 'obsd-master'Thomas Adam
Conflicts: format.c window.c
2014-05-13Add support for named buffers. If you don't name a buffer, things worknicm
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.
2014-04-24Merge branch 'obsd-master'Thomas Adam
2014-04-24There is no longer a need for a paste_stack struct or for global_buffersnicm
to be global. Move to paste.c.
2014-04-05Merge branch 'obsd-master'Thomas Adam
Conflicts: Makefile tty-keys.c
2014-04-02Support UTF-8 with choose-buffer, from Kosuke ASAMI. Also makenicm
buffer_sample bigger to let it trim at window right edge.
2014-03-31Add setb -a to append and a copy mode append command, from J Raynor withnicm
minor changes.