summaryrefslogtreecommitdiffstats
path: root/paste.c
AgeCommit message (Collapse)Author
2010-06-22Nuke vis.h.Tiago Cunha
2010-06-22Sync OpenBSD patchset 726:Tiago Cunha
Add a choose-buffer command for easier use of the paste buffer stack.
2009-12-04Sync OpenBSD patchset 581:Tiago Cunha
Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last time now I've configured emacs to make them displayed in really annoying colours...
2009-11-28Sync OpenBSD patchset 569:Tiago Cunha
Tidy up various bits of the paste code, make the data buffer char * and add comments.
2009-11-04Sync OpenBSD patchset 482:Tiago Cunha
tv member of struct paste_buffer is updated but not otherwise used, so remove it.
2009-09-20Sync OpenBSD patchset 332:Tiago Cunha
Regularise some fatal messages.
2009-09-07Sync OpenBSD patchset 318:Tiago Cunha
Give each paste buffer a size member instead of requiring them to be zero-terminated.
2009-07-31Sync OpenBSD patchset 208:Tiago Cunha
Don't leak when rollling buffers off when the paste buffer limit is reached.
2009-07-02Fix two copy/paste bugs: forbid zero-length buffers to prevent a fatal errorNicholas Marriott
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.
2009-01-25Make the caller responsible for allocating memory for the paste buffer dataTiago Cunha
(needed by the load-buffer command when dealing with big files since it'll prevent tmux from dying due to memory exhaustion). From nicm.
2009-01-23Return -1 on error.Nicholas Marriott
2008-08-28Support OS X by moving to gettimeofday(2) and adding poll compat from OpenSSH.Nicholas Marriott
2008-06-20buffer-limit option.Nicholas Marriott
2008-06-20Swap in new paste buffer code and add a couple more commands.Nicholas Marriott
2008-06-20Start of improved buffer code. Only set-buffer/show-buffer commands so far.Nicholas Marriott