summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-find.c
AgeCommit message (Expand)Author
2018-06-26Style nit.Nicholas Marriott
2018-05-28When looking for panes, ignore dead ones (with -1 fileNicholas Marriott
2018-05-09Another check for NULL window if looking for index.Nicholas Marriott
2018-05-04Improve logging of sessions.Nicholas Marriott
2018-05-03Use window target if specified and exists even when looking for anNicholas Marriott
2018-04-18Change how display-message uses the client. Originally it was onlyNicholas Marriott
2018-03-17Fix negative window index range check (> not <). Reported by Juan PabloNicholas Marriott
2018-01-15Another redundant check, GitHub issue 1219.Nicholas Marriott
2018-01-15Some unused code, GitHub issue 1219.Nicholas Marriott
2017-08-30Pass flags into cmd_find_from_* to fix prefer-unattached, reported byNicholas Marriott
2017-08-28Do not forbid targets to specify non-visible panes - the checks forNicholas Marriott
2017-07-07When working out the current client (for example for switch-client withNicholas Marriott
2017-06-16Tweak some logging.Nicholas Marriott
2017-06-14Add missing error message when no target, GitHub issue 971.Nicholas Marriott
2017-04-22Do not need getopt.h.Nicholas Marriott
2017-04-22Get rid of the extra layer of flags and cmd_prepare() and just store theNicholas Marriott
2017-04-21Log error properly when no current state, and some other minor tweaks.Nicholas Marriott
2017-04-21Make sure cmd_find_from_* clear the state if they fail.Nicholas Marriott
2017-04-21Make the cmd_find_* functions more obvious when looking for a client,Nicholas Marriott
2017-04-21Add cmd_find_from_winlink_pane and use it in a couple of places, andNicholas Marriott
2017-04-21More unnecessary arguments now winlink points back to session.Nicholas Marriott
2017-04-21Store state shared between multiple commands in the queue in a sharedNicholas Marriott
2017-04-05Try again to resolve problems with mistaking sessions for windows: nowNicholas Marriott
2017-04-05Give each client a name. This defaults to the tty name as before butNicholas Marriott
2017-03-13Revert previous, breaks normal short targets, reported by Theo Buehler.Nicholas Marriott
2017-03-11Only look for window and pane parts of target as a sesson and window ifNicholas Marriott
2016-11-16The target validity check used window_pane_visible but that may be falseNicholas Marriott
2016-10-18Tweak a couple of log statements.Nicholas Marriott
2016-10-16Use the notify name string instead of going via an enum and changeNicholas Marriott
2016-10-16Mass rename struct cmd_q to struct cmdq_item and related.Nicholas Marriott
2016-10-16Rewrite command queue handling. Each client still has a command queue,Nicholas Marriott
2016-10-15Fire hooks on the simple notifys (window-renamed and session-renamed),Nicholas Marriott
2016-10-13Some improvements and bug fixes for hooks:Nicholas Marriott
2016-10-10Add static in cmd-* and fix a few other nits.Nicholas Marriott
2016-03-03Accept clients as sessions in cmd_find_get_session.Nicholas Marriott
2016-01-19Split out getting the current state from the target search so it can beNicholas Marriott
2016-01-19I no longer use my SourceForge address so replace it.Nicholas Marriott
2016-01-16Add hooks for alerts (bell, silence, activity), from Thomas Adam.Nicholas Marriott
2015-12-17As well as setting up the state, actually use it in cmd_find_target.Nicholas Marriott
2015-12-16Add infrastructure to work out the best target given a pane or windowNicholas Marriott
2015-12-15Copy state directly rather than dereferencing wl (which could be NULL).Nicholas Marriott
2015-12-15We changed somewhat recently to us the pty when tmux was run insideNicholas Marriott
2015-12-15Don't copy marked pane when can just point to it.Nicholas Marriott
2015-12-15Make the marked pane a cmd_find_state.Nicholas Marriott
2015-12-14Use cmd_find_clear_state instead of an extra function doing the same.Nicholas Marriott
2015-12-13Use struct cmd_find_state directly and remove cmd_state_flag, alsoNicholas Marriott
2015-12-13Change cmd_find_target to use a state struct from the caller.Nicholas Marriott
2015-12-13Remove the cmd_find_{session,window,pane,index} functions (which areNicholas Marriott
2015-12-13Move logging into cmd_find_target rather than each function.Nicholas Marriott
2015-10-28Like options, move the environ struct into environ.c.Nicholas Marriott