Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Now that copy mode copies the pane content rather than keeping a | 2020-04-10 | 1 | -23/+28 | |
| | | | | | | | | | | reference to it, it isn't necessary that the pane in copy mode is the same as the one copying from. Add a -s flag to copy-mode to specify a different pane for the source content. This means it is possible to view two places in a pane's history at the same time in different panes, or copy from a pane's history into an editor or shell in the same pane. From Anindya Mukherjee. | ||||
* | Fix history-bottom to use the right line when working out the length. | 2020-04-09 | 1 | -3/+4 | |
| | |||||
* | Some minor style nits. | 2020-04-09 | 1 | -2/+2 | |
| | |||||
* | Some unnecessary assignments and unused variables. | 2020-04-09 | 1 | -2/+1 | |
| | |||||
* | Change copy mode to make copy of the pane history so it does not need to | 2020-04-06 | 1 | -20/+51 | |
| | | | | | | freeze updates (which does not play nicely with some applications, a longstanding problem) and will allow some other changes later. From Anindya Mukherjee. | ||||
* | Check previous line rather than an extra line, from Anindya Mukherjee. | 2020-04-03 | 1 | -6/+3 | |
| | |||||
* | Only search the visible part of the history when marking (highlighting) | 2020-04-02 | 1 | -2/+25 | |
| | | | | search terms, much faster than searching the whole history. | ||||
* | Add a 10 second timeout to prevent searches taking too much time, from | 2020-04-01 | 1 | -6/+40 | |
| | | | | Anindya Mukherjee. | ||||
* | Do not go down the regex search path (which is expensive because we need | 2020-04-01 | 1 | -5/+9 | |
| | | | | | | to convert the grid data into a string for regexec and reverse it to find the grid position) if the search string does not contain any regex special characters. | ||||
* | Use a comparison to check for wrap and avoid an expensive modulus. | 2020-04-01 | 1 | -3/+4 | |
| | |||||
* | Performance improvements for regex searching, most notably: | 2020-04-01 | 1 | -103/+141 | |
| | | | | | | | | | | | | | - Use the grid data directly instead of copying it. - Special case the most typical one byte character cells and use memcmp for multiple bytes instead of a handrolled loop. - Hoist regcomp out of the loop into the calling functions. GitHub issue 2143. Also a man page from from jmc@. | ||||
* | Add non-regex search variants to avoid the performance cost for people | 2020-03-31 | 1 | -45/+92 | |
| | | | | with large histories or long lines. | ||||
* | Set end position correctly, GitHub issue 2129 from Anindya Mukherjee. | 2020-03-21 | 1 | -3/+3 | |
| | |||||
* | Fix select-word when not on a word, from Anindya Mukherjee. | 2020-03-20 | 1 | -6/+7 | |
| | |||||
* | Make the mouse_word and mouse_line formats work in copy mode and enable | 2020-03-20 | 1 | -3/+24 | |
| | | | | the default pane menu in copy mode. | ||||
* | select_word_end needs to forward no_reset flag or select-word selects | 2020-03-20 | 1 | -9/+10 | |
| | | | | too much. | ||||
* | Another fix to make other-end forget the selection mode, from Anindya Mukherjee. | 2020-03-20 | 1 | -1/+3 | |
| | |||||
* | Add a flag to run a background process in a pty as well, not used for | 2020-03-19 | 1 | -3/+3 | |
| | | | | anything yet. | ||||
* | Various fixes to copying with select-word and select-line, including | 2020-03-19 | 1 | -52/+59 | |
| | | | | | making it consistent with keys and with the mouse, and using other-end. From Anindya Mukherjee. | ||||
* | Adjust selection correctly when scrolling, from Anindya Mukherjee. | 2020-03-16 | 1 | -6/+6 | |
| | |||||
* | Reset selection flag when clearing or stopping selection, from Mark | 2020-03-15 | 1 | -1/+4 | |
| | | | | Kelly. | ||||
* | Add a copy-mode -H flag to hide the position marker in the top right. | 2020-03-12 | 1 | -2/+4 | |
| | |||||
* | Start a new selection if outside the existing selection after a word has | 2020-03-11 | 1 | -2/+5 | |
| | | | | been selected. From Anindya Mukherjee. | ||||
* | Change mouse selection so that after selecting a word, dragging selects | 2020-02-24 | 1 | -18/+244 | |
| | | | | only words and similar for lines. From Anindya Mukherjee. | ||||
* | Add selection_active format for when the selection is present but not | 2020-02-20 | 1 | -2/+5 | |
| | | | | moving with the cursor, from Mark Kelly. | ||||
* | Do not jump to next word end if already on a word end when selecting a | 2020-02-13 | 1 | -2/+14 | |
| | | | | | word. Fixes select-word with single character words and vi(1) keys. From Mark Kelly. | ||||
* | Support regex search in copy mode, from Anindya Mukherjee in GitHub | 2019-12-27 | 1 | -38/+359 | |
| | | | | issue 2038. | ||||
* | Tweak previous to check the wrapped flag and stop if not set. | 2019-12-11 | 1 | -5/+13 | |
| | |||||
* | Allow search across wrapped lines and fix some inconsistencies in how th | 2019-12-11 | 1 | -16/+32 | |
| | | | | position is represented, GitHub issue 2014 from Anindya Mukherjee. | ||||
* | Don't use motion flag uninitialized. | 2019-11-25 | 1 | -2/+2 | |
| | |||||
* | Fix a warning in previous. | 2019-11-25 | 1 | -2/+2 | |
| | |||||
* | Do not clear search marks on cursor movement with vi(1) keys, from Eric | 2019-11-25 | 1 | -66/+75 | |
| | | | | Pruitt in GitHub issue 1985. | ||||
* | Add -F flag to send-keys to expand formats in search-backward and | 2019-11-07 | 1 | -5/+29 | |
| | | | | | forward copy mode commands, this makes it easier to use the cursor_word and cursor_line formats. From Anindya Mukherjee in GitHub issue 1964. | ||||
* | Use the existing code in format.c to add foramts for word and line at | 2019-10-23 | 1 | -1/+14 | |
| | | | | cursor position in copy mode, from Anindya Mukherjee. | ||||
* | Add formats for cursor and selection position in copy mode, from Jason Felice. | 2019-10-19 | 1 | -2/+12 | |
| | |||||
* | Set up format tree for %if, GitHub issue 1896. | 2019-09-10 | 1 | -2/+1 | |
| | |||||
* | Add cursor-down-and-cancel, from Mark Kelly. | 2019-09-09 | 1 | -1/+18 | |
| | |||||
* | Default to previous search string for search-forward and | 2019-08-14 | 1 | -11/+21 | |
| | | | | search-backward, from Leah Neukirchen. | ||||
* | Revert a change I did not mean to commit yet. | 2019-08-14 | 1 | -8/+7 | |
| | |||||
* | Add -Z flag to rotate-window, select-pane, swap-pane, switch-client to | 2019-08-14 | 1 | -7/+8 | |
| | | | | preserve zoomed state. GitHub issue 1839. | ||||
* | Correctly wrap search in copy mode even if at the very top left, GitHub | 2019-08-01 | 1 | -14/+22 | |
| | | | | issue 1845. | ||||
* | Select the correct word for select-word when already at the start of a | 2019-08-01 | 1 | -26/+28 | |
| | | | | word, GitHub issue 1820. | ||||
* | Clear search marks before resize, GitHub issue 1823. | 2019-07-08 | 1 | -2/+5 | |
| | |||||
* | Do not use uninitialized buffer name. | 2019-07-05 | 1 | -2/+2 | |
| | |||||
* | Set the cursor x at the same time as changing the y or the end of line | 2019-06-13 | 1 | -5/+5 | |
| | | | | marker may not be redrawn. | ||||
* | Need to increment the argument to skip the prefix earlier, fixes | 2019-06-05 | 1 | -9/+9 | |
| | | | | | repeated incremental search in copy mode, reported by Kaushal Modi in GitHub issue 1780. | ||||
* | Add formats for word and line under the mouse and use them to add some | 2019-05-26 | 1 | -38/+3 | |
| | | | | items to the pane menu. | ||||
* | Fix dragging when in view mode rather than copy mode, GitHub issue 1740 | 2019-05-15 | 1 | -5/+13 | |
| | | | | from Brad Town. | ||||
* | Fix some indentation and dead assignments. | 2019-05-12 | 1 | -4/+1 | |
| | |||||
* | Adjust the same bit to adjust the selection for history-top and | 2019-05-07 | 1 | -3/+13 | |
| | | | | history-bottom as for cursor-up and cursor-down. GitHub issue 1723. |