aboutsummaryrefslogtreecommitdiff
path: root/window-copy.c
Commit message (Collapse)AuthorAge
* Pass window into mode functions.nicm2018-12-18
|
* Handle UTF-8 in word-separators option, GitHub issue 1551.nicm2018-11-28
|
* It isn't possible to specify buffer name to copy mode commands now, sonicm2018-11-08
| | | | remove the function argument.
* Do not move the cursor when the mouse wheel is used, GitHub issue 1493.nicm2018-10-03
|
* Allow panes to be 1 line or column by redrawing instead of using thenicm2018-09-25
| | | | scroll region, from Soeren Tempel in GitHub issue 1487.
* Do not clear selection when searching.nicm2018-09-10
|
* Allow a large line number to go to the end with goto-line, from Marknicm2018-09-03
| | | | Kelly in GitHub issue 1460.
* Fix selection test, from Takeshi Banse.nicm2018-09-03
|
* Reset line flag when clearing selection, GitHub issue 1454.nicm2018-08-29
|
* Move job struct into job.c.nicm2018-08-23
|
* Fix problems with page scrolling in copy mode, GitHub issue 1440 fromnicm2018-08-20
| | | | Amos Bird.
* calloc the mode data instead of malloc and initialize everything.nicm2018-08-05
|
* Initialize new lineflag member.nicm2018-08-01
|
* Move struct screen_sel into screen.c and tidy up members that are onlynicm2018-07-31
| | | | used by copy mode.
* Add a rectangle_toggle format, from Hirokazu Hata.nicm2018-07-06
|
* Add accessors for grid linedata member, for some future work. From Dannicm2018-07-04
| | | | Aloni.
* Do not take address of a member of a NULL pointer. GitHub issue 1382nicm2018-06-26
| | | | from Kamil Rytarowski.
* Check whether cursor is at start or end when copying rectangularnicm2018-04-23
| | | | selections, from tb@.
* Add a missing client-detached hook when the server shuts down, and donicm2018-03-08
| | | | | 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.
* Add -and-cancel variants for scrolling commands to exit copy mode whennicm2017-11-16
| | | | the bottom is reached, from Stephen Hicks.
* When searching in copy mode, do not scroll if the result is already onnicm2017-11-13
| | | | screen. GitHub issue 1150.
* Remove unused (always 1) arguments from some functions, from Danielnicm2017-09-13
| | | | Mueller in GitHub issue 1073.
* Move to current mouse position not last when clcking in copy mode; fixesnicm2017-09-04
| | | | GitHub issue 1055. Also a man page fix from jmc.
* Redraw rectangle selections properly when cursor at end, GitHub issue 992.nicm2017-08-29
|
* Fix searching when match is at end of line, from Brad Town.nicm2017-08-23
|
* Add selection_present format so commands in copy mode can use it, GitHubnicm2017-08-02
| | | | issue 1028.
* Add a hook when the clipboard is set.nicm2017-06-09
|
* Make set-clipboard a three-state option so tmux itself can ignore thenicm2017-06-03
| | | | sequencess.
* Rewrite of choose mode, both to simplify and tidy the code and to addnicm2017-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Do not factor in screen_hsize() for the visible copy mode screen whennicm2017-05-29
| | | | | adjusting the selection, it should never have any useful history (and when it does, after resize, we shouldn't use it). From Michal Mazurek.
* Scrolling needs to use background colour.nicm2017-05-12
|
* Store copy mode search string in pane so search-again command works evennicm2017-05-12
| | | | | if you exit and reenter copy mode (it doesn't remember the position, just the search string), suggested by espie@.
* Add a format for the name of the pane's mode, lets it be used as anicm2017-05-07
| | | | conditional for key bindings.
* Add a format for the last search string in copy mode and fix the promptnicm2017-05-03
| | | | so it can work when in -I, suggested by Suraj N Kurapati.
* If a #() command doesn't exit, use its most recent line of output (itnicm2017-04-20
| | | | | | | must be a full line). Don't let it redraw the status line more than once a second. Requested by someone about 10 years ago...
* Show count of search results in copy mode.nicm2017-03-24
|
* Fix movement after select-line, from Omar Sandoval.nicm2017-03-21
|
* Skip over padding cells when moving the cursor left or right.nicm2017-03-08
|
* Add a helper function for the most common format_create/defaults/expandnicm2017-03-08
| | | | pattern.
* window_copy_pagedown shouldn't reset the mode anymore, instead let thenicm2017-02-08
| | | | | caller do it so it can free the marks. Problem reported by attila at stalphonsos dot com.
* Add a window or pane id "tag" to each format tree and use it to separatenicm2017-02-03
| | | | | | jobs, this means that if the same job is used for different windows or panes (for example in pane-border-format), it will be run separately for each pane.
* Add support for the OSC 4 and OSC 104 palette setting escape sequences,nicm2017-01-07
| | | | from S Gilles.
* Incremental search in copy mode (on for emacs keys by default) - muchnicm2017-01-06
| | | | | | the same as normal searching but updates the cursor position and marked search terms as you type. C-r and C-s in the prompt repeat the search, once finished searching (with Enter), N and n work as before.
* Highlight all occurrences of search string after searching in copy mode.nicm2017-01-05
|
* Make the selection able to exist independent of the cursor position, sonicm2016-11-24
| | | | | | | | | | | | that it is not affected by scrolling. If MouseDragEnd1Pane is bound to the new "stop-selection" command: bind -Tcopy-mode MouseDragEnd1Pane stop-selection A selection made with the mouse will stay as it is after button 1 is released. (It also works bound to a key.) From Artem Fokin.
* Add copy-pipe-and-cancel, from Artem Fokin.nicm2016-11-15
|
* Add support for BCE (background colour erase). This makes various escapenicm2016-10-13
| | | | | | | | | | | | sequences (notable EL and ED but also IL, DL, ICH, DCH) create blank cells using the current background colour rather than the default colour. On modern systems BCE doesn't really have many benefits, but most other terminals now support it, some (lazy) applications rely on it, and it is not hard to include now that we have pane background colours anyway. Mostly written by Sean Haugh.
* Unused variable and missing time.h.nicm2016-10-12
|
* Add static in window-*.c and move some internal functions out of tmux.h.nicm2016-10-11
|
* Support double and triple clicks (they are cumulative, so double isnicm2016-10-11
| | | | | fired then triple), and use for select-word and select-line in copy mode. Inspired by a different solution from Omar Sandoval.