summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/window-copy.c
AgeCommit message (Expand)Author
2020-05-25Tidy up new UTF-8 code and make it more generic.Nicholas Marriott
2020-05-25Do not attempt to divide by zero when working out copy position.Nicholas Marriott
2020-05-25Instead of storing all UTF-8 characters in the extended cell which meansNicholas Marriott
2020-05-16Add a mark in copy mode. Set with set-mark command (bound to 'X') byNicholas Marriott
2020-05-16Do not loop forever when search finds an empty match, GitHub issue 2203.Nicholas Marriott
2020-05-16Fix next-matching-bracket logic, from Chris Barber.Nicholas Marriott
2020-05-16Store and restore cursor position when copy mode is resized, fromNicholas Marriott
2020-05-16Try to search the entire history first for up to 200 ms so a searchNicholas Marriott
2020-05-16Do not hoke into struct window_pane from the tty code and instead setNicholas Marriott
2020-05-16Copy mode search improvements:Nicholas Marriott
2020-05-16Drop having a separate type for style options and make them all strings,Nicholas Marriott
2020-05-16Add extension terminfo(5) capabilities for margins.Nicholas Marriott
2020-04-20Only trim blank lines when the source pane is not the target pane,Nicholas Marriott
2020-04-17Make sure the cursor position is still on screen after we have trimmedNicholas Marriott
2020-04-17Add a copy-command option and change copy-pipe and friends to pipe to itNicholas Marriott
2020-04-16Don't miss the last line off the screen when writing after resize, fromNicholas Marriott
2020-04-15Clear the selection and repeat the search on refresh same as resize.Nicholas Marriott
2020-04-15Instead of fixing with the cursor position when the copied screen isNicholas Marriott
2020-04-14Leave the cursor above empty lines.Nicholas Marriott
2020-04-14Adjust cursor and scroll positions when entering copy mode so that theNicholas Marriott
2020-04-13Make client -c and -t handling common in cmd-queue.c and try to beNicholas Marriott
2020-04-10Now that copy mode copies the pane content rather than keeping aNicholas Marriott
2020-04-09Fix history-bottom to use the right line when working out the length.Nicholas Marriott
2020-04-09Some minor style nits.Nicholas Marriott
2020-04-09Some unnecessary assignments and unused variables.Nicholas Marriott
2020-04-06Change copy mode to make copy of the pane history so it does not need toNicholas Marriott
2020-04-03Check previous line rather than an extra line, from Anindya Mukherjee.Nicholas Marriott
2020-04-02Only search the visible part of the history when marking (highlighting)Nicholas Marriott
2020-04-01Add a 10 second timeout to prevent searches taking too much time, fromNicholas Marriott
2020-04-01Do not go down the regex search path (which is expensive because we needNicholas Marriott
2020-04-01Use a comparison to check for wrap and avoid an expensive modulus.Nicholas Marriott
2020-04-01Performance improvements for regex searching, most notably:Nicholas Marriott
2020-03-31Add non-regex search variants to avoid the performance cost for peopleNicholas Marriott
2020-03-21Set end position correctly, GitHub issue 2129 from Anindya Mukherjee.Nicholas Marriott
2020-03-20Fix select-word when not on a word, from Anindya Mukherjee.Nicholas Marriott
2020-03-20Make the mouse_word and mouse_line formats work in copy mode and enableNicholas Marriott
2020-03-20select_word_end needs to forward no_reset flag or select-word selectsNicholas Marriott
2020-03-20Another fix to make other-end forget the selection mode, from Anindya Mukherjee.Nicholas Marriott
2020-03-19Add a flag to run a background process in a pty as well, not used forNicholas Marriott
2020-03-19Various fixes to copying with select-word and select-line, includingNicholas Marriott
2020-03-16Adjust selection correctly when scrolling, from Anindya Mukherjee.Nicholas Marriott
2020-03-15Reset selection flag when clearing or stopping selection, from MarkNicholas Marriott
2020-03-12Add a copy-mode -H flag to hide the position marker in the top right.Nicholas Marriott
2020-03-11Start a new selection if outside the existing selection after a word hasNicholas Marriott
2020-02-24Change mouse selection so that after selecting a word, dragging selectsNicholas Marriott
2020-02-20Add selection_active format for when the selection is present but notNicholas Marriott
2020-02-13Do not jump to next word end if already on a word end when selecting aNicholas Marriott
2019-12-27Support regex search in copy mode, from Anindya Mukherjee in GitHubNicholas Marriott
2019-12-11Tweak previous to check the wrapped flag and stop if not set.Nicholas Marriott
2019-12-11Allow search across wrapped lines and fix some inconsistencies in how thNicholas Marriott