summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/window-copy.c
AgeCommit message (Expand)Author
2010-09-11When resizing the copy mode screen, don't allow it to end up with theNicholas Marriott
2010-09-08Do not crash if the screen size is too small for the indicator in copy mode.Nicholas Marriott
2010-07-22Fix a crash: if remain-on-exit is set and the pane has exited, theNicholas Marriott
2010-06-29replace some magic mouse constants with defines for clarity. ok nicmTed Unangst
2010-06-06Use a macro-based mask for obtaining a key or modifier-set from theNicholas Marriott
2010-06-05Make start-of-line work the same as end-of-line on wrapped lines (jumpNicholas Marriott
2010-05-31When the mode-mouse option is on, support dragging to make a selectionNicholas Marriott
2010-05-23Pass in the session, rather than the client, to window modes' key()Nicholas Marriott
2010-04-28Fix crash when resizing in copy mode, when cursor can end up outside screen.Nicholas Marriott
2010-04-06Merge copy mode and output mode, dropping the latter. Idea and code fromNicholas Marriott
2010-03-22paste-buffer should be per pane, from C. Coutinho.Nicholas Marriott
2010-03-22Add vi-style "jump" commands for copy mode, from Micah Cowan.Nicholas Marriott
2010-03-14Fix a use-after-free when cancelling copy mode, or trying to repeat cancel.Nicholas Marriott
2010-03-02Permit keys in copy mode to be prefixed by a repeat count, entered withNicholas Marriott
2010-03-01Extend the end-of-line key so that in normal mode a second press movesNicholas Marriott
2010-02-22Option to set the characters considered word separators in copy mode, fromNicholas Marriott
2010-02-22Another copy mode fix from Micah Cowan: in rectangle copy mode, the cursorNicholas Marriott
2010-02-19copy mode uses the real screen as backing and if it is updated while copying,Nicholas Marriott
2010-02-17Make next-word stop at beginning of word even if it is at the start of theNicholas Marriott
2010-02-17Don't strip add newline if only copying part of wrapped line. Problem spottedNicholas Marriott
2010-02-11Add "N" key to search the opposite way from the last search (reverse of "n"),Nicholas Marriott
2010-02-06Rectangle copy support, from Robin Lee Powell.Nicholas Marriott
2010-02-04vi-style B, W and E keys in copy mode to navigate between words treating onlyNicholas Marriott
2010-01-27Alter next-word to have vi-like movement behaviour, and add next-word-end withNicholas Marriott
2010-01-25Hugely simplify window_copy_cursor_next_word, which was way overcomplicated.Nicholas Marriott
2010-01-25Update the selection properly after goto line or searching.Nicholas Marriott
2010-01-25Top/bottom of history mode keys, diff from Micah Cowan, tweaked by me.Nicholas Marriott
2010-01-24Redraw properly when scrolling backward and the cursor is on the lastNicholas Marriott
2009-12-03Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastNicholas Marriott
2009-11-26Remove a couple of unused arguments where possible, and add /* ARGSUSED */ toNicholas Marriott
2009-11-18Missed an unused variable :-/.Nicholas Marriott
2009-11-18Cleanup by moving various (mostly horrible) little bits handling UTF-8 gridNicholas Marriott
2009-10-20Correctly nuke the EOL $ marker when scrolling, reported by martynas@, thanks.Nicholas Marriott
2009-10-13Add mode keys to move the cursor to the top, middle and bottom of the screen.Nicholas Marriott
2009-10-11Clean up by introducing a wrapper struct for mouse clicks rather than passingNicholas Marriott
2009-10-06Make C-Up and C-Down in copy mode scroll the screen up and down one lineNicholas Marriott
2009-09-10Permit options such as status-bg to be configured using the entire 256 colourNicholas Marriott
2009-09-07Give each paste buffer a size member instead of requiring them to beNicholas Marriott
2009-08-21When moving up or down in copy mode, save the cursor position and size of theNicholas Marriott
2009-08-19Don't read beyond the edge of the screen when searching (dies with debugNicholas Marriott
2009-08-18Nuke unnecessary assignment.Nicholas Marriott
2009-08-18Add a "delete line" key when editing in the status line or the search up/downNicholas Marriott
2009-08-18Add (naive) searching and goto line in copy mode. Searching is C-r and C-s withNicholas Marriott
2009-08-13vi(1)-style half page scroll in copy and scroll modes. Move the vi full pageNicholas Marriott
2009-08-13Scroll by two less than the number of lines in the screen, like emacs, ratherNicholas Marriott
2009-08-13Allowing copy mode to scroll left and right is annoying, so limit it to theNicholas Marriott
2009-08-13Redraw the screen after resizing.Nicholas Marriott
2009-08-08Add a flags member to the grid_line struct and use it to differentiate linesNicholas Marriott
2009-08-08Change the way the grid is stored, previously it was:Nicholas Marriott
2009-08-05If colours are not supported by the terminal, try to emulate a colouredNicholas Marriott