summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-find.c
AgeCommit message (Expand)Author
2020-05-16Add a client flag 'active-pane' which stores the active pane in theNicholas Marriott
2020-04-13Move cmdq_state into cmd-queue.c.Nicholas Marriott
2020-04-13Rename cmdq_shared to cmdq_state which will better reflect what it isNicholas Marriott
2020-04-13Store a key event not a mouse event in the shared data.Nicholas Marriott
2020-04-13Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make itsNicholas Marriott
2020-04-09Do not try to use the client if the item containing it is NULL.Nicholas Marriott
2019-06-12Do not use $TMUX to find the session because for windows in multipleNicholas Marriott
2019-05-08Adjust how mouse targets are found so they always have a session, windowNicholas Marriott
2019-03-15Add a : to make error messages clearer.Nicholas Marriott
2019-03-12When asked for a window index, return it even if the window exists.Nicholas Marriott
2019-03-12Tweak target debug logging.Nicholas Marriott
2018-08-18SESSION_UNATTACHED flag is no longer necessary now we have an attachedNicholas Marriott
2018-08-02Make key trees and some other bits static.Nicholas Marriott
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