summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-find.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add hooks for alerts (bell, silence, activity), from Thomas Adam.nicm2016-01-161-1/+17
|
* As well as setting up the state, actually use it in cmd_find_target.nicm2015-12-171-3/+4
|
* Add infrastructure to work out the best target given a pane or windownicm2015-12-161-5/+50
| | | | alone and use it to add pane_died and pane_exited hooks.
* Copy state directly rather than dereferencing wl (which could be NULL).nicm2015-12-151-3/+3
|
* We changed somewhat recently to us the pty when tmux was run insidenicm2015-12-151-6/+15
| | | | | | | | | | itself to work out the current pane. This is confusing in many cases (particularly notable is that "tmux neww\; splitw" would not split the new window), and the few advantages do not make up for the confusion. So drop this behaviour and return to using the current window and pane; keep the pty check but only use it to limit the list of possible current sessions.
* Don't copy marked pane when can just point to it.nicm2015-12-151-10/+11
|
* Make the marked pane a cmd_find_state.nicm2015-12-151-40/+71
|
* Use cmd_find_clear_state instead of an extra function doing the same.nicm2015-12-141-4/+1
|
* Use struct cmd_find_state directly and remove cmd_state_flag, alsonicm2015-12-131-9/+13
| | | | change so that winlink is set even if an index is too.
* Change cmd_find_target to use a state struct from the caller.nicm2015-12-131-49/+55
|
* Remove the cmd_find_{session,window,pane,index} functions (which arenicm2015-12-131-150/+1
| | | | | just wrappers around cmd_find_target) and just use cmd_find_target directly.
* Move logging into cmd_find_target rather than each function.nicm2015-12-131-24/+23
|
* Like options, move the environ struct into environ.c.nicm2015-10-281-2/+2
|
* Break the common process set up, event loop and imsg dispatch codenicm2015-10-271-4/+12
| | | | | between server and client out into a separate internal API. This will make it easier to add another process.
* If $TMUX is set, and we are unsure about the session, use it.nicm2015-10-231-2/+39
|
* If the pane is still on all_window_panes but not actually connected tonicm2015-10-221-12/+23
| | | | | | window or session (which can happen if it is killed during a command sequence and something else has a reference), fall back to the best effort. Fixes "tmux killw\; detach" for Rudis Muiznieks.
* Remove some extra blank lines.nicm2015-09-141-2/+1
|
* right-up should be right-of, also rename the values too.nicm2015-08-131-9/+9
|
* Rename left/right/up/down relative to active pane to add -of suffixnicm2015-08-121-5/+5
| | | | | (left-of/right-of/etc) to remove conflict with left/right meaning leftmost or rightmost pane. From Ben Boeckel.
* Fix a warning.nicm2015-06-051-2/+2
|
* Make it so that if a window or session target is prefixed with an =,nicm2015-06-051-34/+60
| | | | | only an exact name or index match is accepted, no special character, prefix match, or fnmatch.
* Add support for a single "marked pane". There is one marked pane in thenicm2015-06-041-3/+64
| | | | | | | | | server at a time; it may be toggled or cleared with select-pane -m and -M (the border is highlighted). A new target '~' or '{marked}' specifies the marked pane to commands and it is the default target for the swap-pane and join-pane -s flag (this makes them much simpler to use - mark the source pane and then change to the target pane to run swapp or joinp).
* Style spacing nits.nicm2015-05-071-5/+5
|
* If looking for an index, don't fill in window when given a session.nicm2015-04-281-4/+6
|
* Do not do a search for the tty path if there isn't one.nicm2015-04-281-5/+8
|
* If can't find pane as a pane, try as a window; likewise if can't findnicm2015-04-281-4/+24
| | | | window as a session.
* Do not include unattached clients when trying to find one for target.nicm2015-04-271-1/+5
|
* Assign to the right variable when comparing clients.nicm2015-04-271-2/+2
|
* Rewrite of the target resolution internals to be simpler and morenicm2015-04-271-0/+1114
consistent but with much less duplication, but keeping the same internal API. Also adds more readable aliases for some of the special tokens used in targets (eg "{start}" instead of "^"). Some behaviours may have changed, for example prefix matches now happen before fnmatch.