summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/paste.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Tidy up mode-mouse check.nicm2014-11-051-3/+3
|
* Add xreallocarray and remove nmemb argument from xrealloc.nicm2014-10-081-2/+2
|
* Use xrealloc(NULL, n, m) instead of xmalloc(n * m) to get overflownicm2014-10-081-2/+2
| | | | check.
* Various minor style and spacing nits.nicm2014-09-011-3/+3
|
* Don't allow pasting into input-disabled panes, from Anish R Athalye.nicm2014-08-251-1/+4
|
* Comment style nits.nicm2014-06-201-3/+3
|
* Don't allow multiple buffers with the same name, from Thomas Adam.nicm2014-05-131-3/+10
|
* Add support for named buffers. If you don't name a buffer, things worknicm2014-05-131-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_buffersnicm2014-04-241-25/+27
| | | | to be global. Move to paste.c.
* Support UTF-8 with choose-buffer, from Kosuke ASAMI. Also makenicm2014-04-021-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 withnicm2014-03-311-2/+2
| | | | minor changes.
* Fix memory leaks with paste_replace, based on changes from J Raynor.nicm2014-02-171-2/+4
|
* Support middle-click paste, based on a diff from Ailin Nemui.nicm2012-11-271-1/+27
|
* Trivial code simplification from Tim Ruehsen.nicm2012-09-041-5/+3
|
* xfree is not particularly helpful, remove it. From Thomas Adam.nicm2012-07-101-8/+9
|
* Style: uint -> u_int and a missing else.nicm2011-03-281-2/+2
|
* Change from a per-session stack of buffers to one global stack which isnicm2010-12-301-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.nicm2010-06-211-1/+26
|
* Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastnicm2009-12-031-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 addnicm2009-11-261-4/+26
| | | | comments.
* tv member of struct paste_buffer is updated but not otherwise used, so removenicm2009-11-031-5/+1
| | | | it.
* Regularise some fatal messages.nicm2009-09-201-3/+3
|
* Give each paste buffer a size member instead of requiring them to benicm2009-09-071-3/+5
| | | | zero-terminated.
* Don't leak when rollling buffers off when the paste buffer limit is reached.nicm2009-07-301-2/+6
|
* Fix two copy/paste bugs: forbid zero-length buffers to prevent a fatal errornicm2009-07-021-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 singlenicm2009-06-011-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