Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-26 | Add formats for word and line under the mouse and use them to add some | nicm | |
items to the pane menu. | |||
2019-05-15 | Fix dragging when in view mode rather than copy mode, GitHub issue 1740 | nicm | |
from Brad Town. | |||
2019-05-12 | Fix some indentation and dead assignments. | nicm | |
2019-05-07 | Adjust the same bit to adjust the selection for history-top and | nicm | |
history-bottom as for cursor-up and cursor-down. GitHub issue 1723. | |||
2019-05-03 | Do not store the mouse position we calculate as the start of a drag back | nicm | |
into the mouse event that later code uses, it has been adjusted and they should use the original position. GitHub issue 1710. | |||
2019-05-01 | Remove unused variable from Thomas Adam. | nicm | |
2019-04-29 | Add support for keys to jump between matching brackets - C-M-f and C-M-b | nicm | |
in emacs, % in vi. Suggested by and help from Chris Barber in GitHub issue 1666. | |||
2019-04-25 | Automatically scroll if dragging to create a selection with the mouse | nicm | |
and the cursor reaches the top or bottom line. | |||
2019-04-23 | Add -no-clear variants of copy-selection and copy-pipe which do not | nicm | |
clear the selection after copying. Make copy-pipe clear the selection by default to be consistent with copy-selection. From Avi Halachmi. | |||
2019-04-02 | Add an argument to copy commands to set the prefix for the buffer name, | nicm | |
allows buffers for different sessions to be named separately. | |||
2019-03-27 | Fix stop-selection, from Avi Halachmi. | nicm | |
2019-03-26 | Break copy mode commands into individual functions instead of a big load | nicm | |
of if statements. | |||
2019-03-12 | DECRC and DECSC apparently need to preserve origin mode as well, based | nicm | |
on a fix from Marc Reisner. | |||
2019-03-12 | Allow multiple modes to be open in a pane. A stack of open modes is kept | nicm | |
and the previous restored when the top is exited. If a mode that is already on the stack is entered, the existing instance is moved to the top as the active mode rather than being opened new. | |||
2019-03-08 | Make the mode used to view command output (a variant of copy mode) use | nicm | |
its own mode definition struct with a different init function rather than calling special setup functions. | |||
2019-03-08 | Do not use window mode entry after free. | nicm | |
2019-03-07 | Add a separate mode struct for the active window mode if any. | nicm | |
2019-03-07 | Tidy changing the mode into window_copy_init_for_output. | nicm | |
2019-03-07 | Make adding mode formats a function pointer as well. | nicm | |
2018-12-18 | Pass window into mode functions. | nicm | |
2018-11-28 | Handle UTF-8 in word-separators option, GitHub issue 1551. | nicm | |
2018-11-08 | It isn't possible to specify buffer name to copy mode commands now, so | nicm | |
remove the function argument. | |||
2018-10-03 | Do not move the cursor when the mouse wheel is used, GitHub issue 1493. | nicm | |
2018-09-25 | Allow panes to be 1 line or column by redrawing instead of using the | nicm | |
scroll region, from Soeren Tempel in GitHub issue 1487. | |||
2018-09-10 | Do not clear selection when searching. | nicm | |
2018-09-03 | Allow a large line number to go to the end with goto-line, from Mark | nicm | |
Kelly in GitHub issue 1460. | |||
2018-09-03 | Fix selection test, from Takeshi Banse. | nicm | |
2018-08-29 | Reset line flag when clearing selection, GitHub issue 1454. | nicm | |
2018-08-23 | Move job struct into job.c. | nicm | |
2018-08-20 | Fix problems with page scrolling in copy mode, GitHub issue 1440 from | nicm | |
Amos Bird. | |||
2018-08-05 | calloc the mode data instead of malloc and initialize everything. | nicm | |
2018-08-01 | Initialize new lineflag member. | nicm | |
2018-07-31 | Move struct screen_sel into screen.c and tidy up members that are only | nicm | |
used by copy mode. | |||
2018-07-06 | Add a rectangle_toggle format, from Hirokazu Hata. | nicm | |
2018-07-04 | Add accessors for grid linedata member, for some future work. From Dan | nicm | |
Aloni. | |||
2018-06-26 | Do not take address of a member of a NULL pointer. GitHub issue 1382 | nicm | |
from Kamil Rytarowski. | |||
2018-04-23 | Check whether cursor is at start or end when copying rectangular | nicm | |
selections, from tb@. | |||
2018-03-08 | Add a missing client-detached hook when the server shuts down, and do | nicm | |
not exit until jobs started from run-shell/if-shell have finished (add a job flags member and a flag to indicate other jobs). GitHub issue 1245. | |||
2017-11-16 | Add -and-cancel variants for scrolling commands to exit copy mode when | nicm | |
the bottom is reached, from Stephen Hicks. | |||
2017-11-13 | When searching in copy mode, do not scroll if the result is already on | nicm | |
screen. GitHub issue 1150. | |||
2017-09-13 | Remove unused (always 1) arguments from some functions, from Daniel | nicm | |
Mueller in GitHub issue 1073. | |||
2017-09-04 | Move to current mouse position not last when clcking in copy mode; fixes | nicm | |
GitHub issue 1055. Also a man page fix from jmc. | |||
2017-08-29 | Redraw rectangle selections properly when cursor at end, GitHub issue 992. | nicm | |
2017-08-23 | Fix searching when match is at end of line, from Brad Town. | nicm | |
2017-08-02 | Add selection_present format so commands in copy mode can use it, GitHub | nicm | |
issue 1028. | |||
2017-06-09 | Add a hook when the clipboard is set. | nicm | |
2017-06-03 | Make set-clipboard a three-state option so tmux itself can ignore the | nicm | |
sequencess. | |||
2017-05-30 | Rewrite of choose mode, both to simplify and tidy the code and to add | nicm | |
some modern features. Now the common code is in mode-tree.c, which provides an API used by the three modes now separated into window-{buffer,client,tree}.c. Buffer mode shows buffers, client mode clients and tree mode a tree of sessions, windows and panes. Each mode has a common set of key bindings plus a few that are specific to the mode. Other changes are: - each mode has a preview pane: for buffers this is the buffer content (very useful), for others it is a preview of the pane; - items may be sorted in different ways ('O' key); - multiple items may be tagged and an operation applied to all of them (for example, to delete multiple buffers at once); - in tree mode a command may be run on the selected item (session, window, pane) or on tagged items (key ':'); - displayed items may be filtered in tree mode by using a format (this is used to implement find-window) (key 'f'); - the custom format (-F) for the display is no longer available; - shortcut keys change from 0-9, a-z, A-Z which was always a bit weird with keys used for other uses to 0-9, M-a to M-z. Now that the code is simpler, other improvements will come later. Primary key bindings for each mode are documented under the commands in the man page (choose-buffer, choose-client, choose-tree). Parts written by Thomas Adam. | |||
2017-05-29 | Do not factor in screen_hsize() for the visible copy mode screen when | nicm | |
adjusting the selection, it should never have any useful history (and when it does, after resize, we shouldn't use it). From Michal Mazurek. | |||
2017-05-12 | Scrolling needs to use background colour. | nicm | |