aboutsummaryrefslogtreecommitdiff
path: root/window-copy.c
Commit message (Collapse)AuthorAge
* Merge branch 'obsd-master'Thomas Adam2013-07-13
|\
| * Make next-word-end work properly with vi(1) keys, reported by patrickNicholas Marriott2013-07-12
| | | | | | | | keshishian.
* | Merge branch 'obsd-master'Thomas Adam2013-07-06
|\|
| * Whitespace nits, from Ben Boeckel.Nicholas Marriott2013-07-05
| |
| * Create a new context when copying instead of using the inputNicholas Marriott2013-03-25
| | | | | | | | | | context. The input context may not exist yet. Fixes crash when copying from config file errors.
| * Add copy-pipe mode command to copy selection and also pipe to a command.Nicholas Marriott2013-03-22
| |
| * No more lint means no more ARGSUSED.Nicholas Marriott2013-03-22
| |
* | Create a new context when copying instead of using the input context. The inputNicholas Marriott2013-03-21
| | | | | | | | context may not exist yet.
* | Extend jobs to support writing and use that for copy-pipe instead of popen,Nicholas Marriott2013-03-21
| | | | | | | | from Chris Johnsen.
* | Add copy-pipe mode command to copy selection and also pipe to a command.Nicholas Marriott2013-02-19
| |
* | No more lint means no more ARGSUSED.Nicholas Marriott2013-02-17
| |
* | Merge branch 'obsd-master'Thomas Adam2013-02-07
|\|
| * Automatically reflow wrapped lines when a pane is resized, requested byNicholas Marriott2013-02-05
| | | | | | | | many over the years and finally implemented by Richard Woodbury.
* | Merge branch 'obsd-master'Thomas Adam2013-01-30
|\| | | | | | | | | | | Conflicts: Makefile grid-utf8.c
| * Rather than having two grids for each pane, one for ASCII and one forNicholas Marriott2013-01-18
| | | | | | | | | | UTF-8, collapse the two together. Simplifies the code at the expense of more memory (which can probably be reduced again later).
* | Merge branch 'obsd-master'Thomas Adam2012-11-27
|\| | | | | | | Sync from OpenBSD.
| * When scrolling in copy mode with the mouse, scroll screen rather thanNicholas Marriott2012-11-27
| | | | | | | | | | moving cursor. This change from Ailin Nemui, alternative to a change from Stephen Hicks.
* | Merge branch 'obsd-master'Thomas Adam2012-10-26
|\| | | | | | | Sync from OpenBSD.
| * Make mouse event structure clearer by defining events (up, click, drag)Nicholas Marriott2012-10-26
| | | | | | | | | | and simplifying how buttons and wheels are represented, from Ailin Nemui. Should be no functional changes.
* | Merge branch 'obsd-master'Thomas Adam2012-09-25
|\| | | | | | | Sync from OpenBSD.
| * Fix search forward so it can match strings on the last line, SF bugNicholas Marriott2012-09-25
| | | | | | | | 3571114 from "LiJunLe".
| * Instead of numbering choose mode items 0-9a-z and then nothing, numberNicholas Marriott2012-08-11
| | | | | | | | | | them all and if there are more than 10 use a prompt when 0-9 is pressed. From Thomas Adam.
| * xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott2012-07-10
| |
| * Minor style nits - return ().Nicholas Marriott2012-04-01
| |
| * Only exit mouse mode on scroll wheel when actually reaching the end ofNicholas Marriott2012-04-01
| | | | | | | | the history, from James Nylen.
| * Add a wrap-search option to turn off wrapping of searches in copyNicholas Marriott2012-03-17
| | | | | | | | mode. From Jacobo de Vera.
| * Always remember last cursor position when moving up or down, not justNicholas Marriott2012-03-11
| | | | | | | | for if crossing zero length lines. From Itay Perl.
| * Support "jump to" like vi in copy mode using t and T keys. Also add xNicholas Marriott2011-12-04
| | | | | | | | | | | | and X for delete in edit mode. From Ben Boeckel, thanks.
| * Move word-separators to be a session rather than window option, from BenNicholas Marriott2011-11-15
| | | | | | | | Boeckel.
| * When copying, make repeat count indicate buffer to replace if used.Nicholas Marriott2011-10-23
| |
| * PANE_FREEZE doesn't do anything anymore, so remove it.Nicholas Marriott2011-06-27
| |
| * Support setting the xterm clipboard when copying from copy mode usingNicholas Marriott2011-05-18
| | | | | | | | | | | | | | | | the xterm escape sequence for the purpose (if xterm is configured to allow it). Written by and much discussed Ailin Nemui, guidance on xterm/termcap/terminfo from Thomas Dickey.
| * Add three new copy-mode commands - select-line, copy-line,Nicholas Marriott2011-05-18
| | | | | | | | copy-end-of-line. From Dave Disser and Randy Stauner a while back.
| * Use button mouse mode not any for copy mode, fixes issues withNicholas Marriott2011-05-18
| | | | | | | | putty. From Ailin Nemui.
| * Tweak copy behaviour slightly in vi mode to be closer to real vi. FromNicholas Marriott2011-04-24
| | | | | | | | Tiago Resende.
| * When mode-mouse is on (it is off by default), automatically enter copyNicholas Marriott2011-04-19
| | | | | | | | | | | | mode when the mouse is dragged or the mouse wheel is used. Also exit copy mode when the mouse wheel is scrolled off the bottom. Discussed with and written by hsim at gmx dot li.
| * Style: uint -> u_int and a missing else.Nicholas Marriott2011-03-28
| |
| * Change from a per-session stack of buffers to one global stack which isNicholas Marriott2010-12-30
| | | | | | | | | | | | | | 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.
| * Support all four of the xterm mouse modes. Based on a diff from hsim atNicholas Marriott2010-12-29
| | | | | | | | gmx.li.
| * Fix rectangle copy to behave like emacs - the cursor is not part of theNicholas Marriott2010-12-11
| | | | | | | | selection on the right edge but on the left it is.
| * When resizing the copy mode screen, don't allow it to end up with theNicholas Marriott2010-09-11
| | | | | | | | viewable position beyond the size of the history.
| * Do not crash if the screen size is too small for the indicator in copy mode.Nicholas Marriott2010-09-08
| |
| * Fix a crash: if remain-on-exit is set and the pane has exited, theNicholas Marriott2010-07-22
| | | | | | | | | | buffers may not be valid, so do not try to disable/enable them when switching to copy mode.
| * replace some magic mouse constants with defines for clarity. ok nicmTed Unangst2010-06-29
| |
| * Use a macro-based mask for obtaining a key or modifier-set from theNicholas Marriott2010-06-06
| | | | | | | | combination. Display C-@, etc, as C-Space, in list-keys. By Micah Cowan.
| * Make start-of-line work the same as end-of-line on wrapped lines (jumpNicholas Marriott2010-06-05
| | | | | | | | to real start if at edge of screen). By Micah Cowan.
| * When the mode-mouse option is on, support dragging to make a selectionNicholas Marriott2010-05-31
| | | | | | | | | | | | | | | | in copy mode. Also support the scroll wheel, although xterm strangely does not ignore it in application mouse mode, causing redraw artifacts when scrolling up (other terminals appear to be better behaved).
| * Pass in the session, rather than the client, to window modes' key()Nicholas Marriott2010-05-23
| | | | | | | | | | | | | | | | | | function. We were only ever using the client to find the session anyway. This allows send-key to work properly for manipulating copy mode from outside tmux. From Micah Cowan.
| * Fix crash when resizing in copy mode, when cursor can end up outside screen.Nicholas Marriott2010-04-28
| | | | | | | | Reported by Romain Francois, fixed by Micah Cowan.
| * Merge copy mode and output mode, dropping the latter. Idea and code fromNicholas Marriott2010-04-06
| | | | | | | | Micah Cowan.