summaryrefslogtreecommitdiffstats
path: root/cmd-paste-buffer.c
AgeCommit message (Collapse)Author
2009-07-14Having fixed flags for single-character getopt options is a bit hard toNicholas Marriott
maintain and is only going to get worse as more are used. So instead, add a new uint64_t member to cmd_entry which is a bitmask of upper and lowercase options accepted by the command. This means new single character options can be used without the need to add it explicitly to the list.
2009-07-12When pasting, translate \n into \r. This matches xterm and putty's behaviour,Nicholas Marriott
and makes emacs happy when pasting into some modes. A new -r (raw) flag to paste-buffer pastes without the translation. From Kalle Olavi Niemitalo, thanks!
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-19Pass return code from _exec; allow command sequences to work from the ↵Nicholas Marriott
command line.
2009-01-11Window splitting. Two vertical panes fixed 50% each. This is a huge diff, ↵Nicholas Marriott
still a couple of bugs (notably heap corruption somewhere causing segfault on exit).
2009-01-11Server locking. set-password and lock-server commands, plus automatic locking.Nicholas Marriott
2009-01-07Buffers should be numbered from zero, from Tiago Cunha. Also fix paste -b.Nicholas Marriott
2008-06-20Trim.Nicholas Marriott
2008-06-20Use the right flags argument for -d.Nicholas Marriott
2008-06-20Swap in new paste buffer code and add a couple more commands.Nicholas Marriott
2008-06-05Big reorganisation of command-line syntax.Nicholas Marriott
2008-06-05Easy bits of arg printing for list-keys.Nicholas Marriott
2008-06-03If no command is specified, assume new-session.Nicholas Marriott
2008-06-02Add a windowonly generic command and use it where appropriate. Also trim ↵Nicholas Marriott
includes and unused.
2008-06-02Quick man page update, also fix some usages and get rid of some CMD_KEY checks.Nicholas Marriott
2008-06-02Move -s and -c down a level so handling them is the responsibility of the ↵Nicholas Marriott
command (with some helper functions), rather than the top-level. This changes the action command syntax so that -s and -c must be after the command rather than before.
2007-12-06Major reorganisation of screen handling.Nicholas Marriott
2007-11-23Mostly-complete copy and paste.Nicholas Marriott