summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-find.c
AgeCommit message (Expand)Author
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
2015-10-27Break the common process set up, event loop and imsg dispatch codeNicholas Marriott
2015-10-23If $TMUX is set, and we are unsure about the session, use it.Nicholas Marriott
2015-10-22If the pane is still on all_window_panes but not actually connected toNicholas Marriott
2015-09-14Remove some extra blank lines.Nicholas Marriott
2015-08-13right-up should be right-of, also rename the values too.Nicholas Marriott
2015-08-12Rename left/right/up/down relative to active pane to add -of suffixNicholas Marriott
2015-06-05Fix a warning.Nicholas Marriott
2015-06-05Make it so that if a window or session target is prefixed with an =,Nicholas Marriott
2015-06-04Add support for a single "marked pane". There is one marked pane in theNicholas Marriott