aboutsummaryrefslogtreecommitdiff
path: root/format.c
Commit message (Collapse)AuthorAge
* Merge branch 'obsd-master'Thomas Adam2018-03-08
|\
| * 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.
* | Merge branch 'obsd-master'Thomas Adam2018-02-20
|\|
| * Do not leak memory when working out job name in formats.nicm2018-02-20
| |
* | Merge branch 'obsd-master'Thomas Adam2018-01-18
|\|
| * Discard all but the last line when reading from a #() command - thenicm2018-01-18
| | | | | | | | | | callback is just going to be fired again straight away to go through all the lines, it is better just to use the last one straight away.
* | Merge branch 'obsd-master'Thomas Adam2017-11-02
|\|
| * Format for group list of "other sessions" is a bit weird, just list allnicm2017-11-02
| | | | | | | | the sessions in the group.
| * Tweak previous slightly so that current session is chosen if it is innicm2017-11-02
| | | | | | | | the group rather than first.
| * Only show the first member of session groups in tree mode (-G flagnicm2017-11-02
| | | | | | | | disables).
* | Merge branch 'obsd-master'Thomas Adam2017-10-20
|\| | | | | | | | | Conflicts: server-fn.c
| * Show exit status and time in the remain-on-exit pane text, mostly fromnicm2017-10-12
| | | | | | | | Timo Boettcher in GitHub issue 1103.
* | Merge branch 'obsd-master'Thomas Adam2017-08-09
|\| | | | | | | | | Conflicts: tmux.1
| * Add -F to choose-tree, choose-client, choose-buffer to specify thenicm2017-08-09
| | | | | | | | | | format of each line, as well as adding a couple of formats needed for the default display.
* | Merge branch 'obsd-master'Thomas Adam2017-08-02
|\|
| * Add selection_present format so commands in copy mode can use it, GitHubnicm2017-08-02
| | | | | | | | issue 1028.
* | Merge branch 'obsd-master'Thomas Adam2017-07-27
|\|
| * Add pane_at_left/right/top/bottom formats, from Amos Bird.nicm2017-07-27
| |
* | Merge branch 'obsd-master'Thomas Adam2017-07-07
|\|
| * Add a pane_pipe format to show if pipe-pane is active, GitHub issue 990.nicm2017-07-07
| |
* | Merge branch 'obsd-master'Thomas Adam2017-06-01
|\| | | | | | | | | Conflicts: window-buffer.c
| * Style and spacing nits.nicm2017-05-31
| |
* | Differences to OpenBSD.Nicholas Marriott2017-05-31
| |
* | Build fixes.Nicholas Marriott2017-05-31
| |
* | Merge branch 'obsd-master'Thomas Adam2017-05-31
|\| | | | | | | | | | | | | Conflicts: Makefile.am cfg.c server-client.c
| * 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.
* | Merge branch 'obsd-master'Thomas Adam2017-05-29
|\|
| * Add ||, && format operators and C: to search pane content.nicm2017-05-29
| |
* | Merge branch 'obsd-master'Thomas Adam2017-05-29
|\|
| * Add m: for fnmatch(3) format matching.nicm2017-05-29
| |
* | Missed during merge.Nicholas Marriott2017-05-16
| |
* | Merge branch 'obsd-master'Thomas Adam2017-05-13
|\|
| * Remove an unused variable.nicm2017-05-12
| |
* | Merge branch 'obsd-master'Thomas Adam2017-05-12
|\|
| * Only redraw single client, and tweak some logging.nicm2017-05-12
| |
* | Merge branch 'obsd-master'Thomas Adam2017-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@.
* | Merge branch 'obsd-master'Thomas Adam2017-05-09
|\| | | | | | | | | Conflicts: format.c
| * Add a format for the name of the pane's mode, lets it be used as anicm2017-05-07
| | | | | | | | conditional for key bindings.
| * Add some formats to look at the session window stack, suggested by Scottnicm2017-05-05
| | | | | | | | ROCHFORD.
* | Merge branch 'obsd-master'Thomas Adam2017-05-03
|\|
| * 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.
* | Merge branch 'obsd-master'Thomas Adam2017-05-01
|\|
| * In order that people can use formats like #D in #() in the status linenicm2017-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | and not have to wait for an update when they change pane, we allow commands to run more than once a second if the expanded form changes. Unfortunately this can mean them being run far too often (pretty much continually) when multiple clients exist, because some formats (including #D) will always differ between clients. To avoid this, give each client its own tree of jobs which means that the same command will be different instances for each client - similar to how we have the tag to separate commands for different panes. GitHub issue 889; test case reported by Paul Johnson.
* | Merge branch 'obsd-master'Thomas Adam2017-04-21
|\|
| * Store state shared between multiple commands in the queue in a sharednicm2017-04-21
| | | | | | | | structure.
* | Merge branch 'obsd-master'Thomas Adam2017-04-20
|\|
| * Now that struct winlink has a session pointer, can remove some arguments.nicm2017-04-20
| |
| * There is no real need for window_printable_flags to allocate, make itnicm2017-04-20
| | | | | | | | return a buffer from the stack.
| * 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...