summaryrefslogtreecommitdiffstats
path: root/cmd-find.c
AgeCommit message (Collapse)Author
2023-07-10Merge branch 'obsd-master'Thomas Adam
2023-07-10Use a stack for last panes line windows, from Thomas Bertschinger innicm
GitHub issue 3588.
2022-11-01Merge branch 'obsd-master'Thomas Adam
2022-11-01Use active pane in target window not current window for +/-. GitHubnicm
issue 3370.
2020-05-16Add a client flag 'active-pane' which stores the active pane in thenicm
client and allows it to be changed independently from the real active pane stored in the window. This is can be used with session groups which allow an independent current window (although it would be nice to have a flag for this too and remove session groups). The client active pane is only really useful interactively, many things (hooks, window-style, zooming) still use the window active pane.
2020-05-14Add a client flag 'active-pane' which stores the active pane in the client andNicholas Marriott
allows it to be changed independently from the real active pane stored in the window. This is can be used with session groups which allow an independent current window (although it would be nice to have a flag for this too and remove session groups). The client active pane is only really useful interactively, many things (hooks, window-style, zooming) still use the window active pane.
2020-04-13Merge branch 'obsd-master'Thomas Adam
2020-04-13Merge branch 'obsd-master'Thomas Adam
2020-04-13Move cmdq_state into cmd-queue.c.nicm
2020-04-13Rename cmdq_shared to cmdq_state which will better reflect what it isnicm
(going to be) used for.
2020-04-13Store a key event not a mouse event in the shared data.nicm
2020-04-13Merge branch 'obsd-master'Thomas Adam
2020-04-13Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make itsnicm
use more clearly defined and preparation for some future work).
2020-04-09Merge branch 'obsd-master'Thomas Adam
2020-04-09Do not try to use the client if the item containing it is NULL.nicm
2019-06-12Merge branch 'obsd-master'Thomas Adam
2019-06-12Do not use $TMUX to find the session because for windows in multiplenicm
sessions it is wrong as often as it is right, and for windows in one session it is pointless. Instead check TMUX_PANE to find the pane and look for the MRU session as usual. GitHub issue 1793.
2019-05-08Merge branch 'obsd-master'Thomas Adam
2019-05-08Adjust how mouse targets are found so they always have a session, windownicm
and pane.
2019-03-18Merge branch 'obsd-master'Thomas Adam
2019-03-15Add a : to make error messages clearer.nicm
2019-03-12Merge branch 'obsd-master'Thomas Adam
2019-03-12When asked for a window index, return it even if the window exists.nicm
2019-03-12Tweak target debug logging.nicm
2018-08-18Merge branch 'obsd-master'Thomas Adam
2018-08-18SESSION_UNATTACHED flag is no longer necessary now we have an attachednicm
count instead.
2018-08-02Merge branch 'obsd-master'Thomas Adam
2018-08-02Make key trees and some other bits static.nicm
2018-06-26Merge branch 'obsd-master'Thomas Adam
2018-06-26Style nit.nicm
2018-05-28Merge branch 'obsd-master'Thomas Adam
2018-05-28When looking for panes, ignore dead ones (with -1 filenicm
descriptor). GitHub issue 1354.
2018-05-09Merge branch 'obsd-master'Thomas Adam
2018-05-09Another check for NULL window if looking for index.nicm
2018-05-04Merge branch 'obsd-master'Thomas Adam
2018-05-04Improve logging of sessions.nicm
2018-05-03Merge branch 'obsd-master'Thomas Adam
2018-05-03Use window target if specified and exists even when looking for annicm
index, fixes neww -a with -t as well.
2018-04-18Merge branch 'obsd-master'Thomas Adam
2018-04-18Change how display-message uses the client. Originally it was onlynicm
intended as the target client where the message should be displayed but at some point (perhaps when -p was added), it was used for format expansion too. This means it can get a bit weird where you have client formats expanding for a client with a different current session than the target session. However, it is nice that display-message can be used to show information about a specific client. So change so that the -c client will be used if the session matches the target session (-t or default), otherwise the best client will be chosen.
2018-03-17Merge branch 'obsd-master'Thomas Adam
2018-03-17Fix negative window index range check (> not <). Reported by Juan Pablonicm
in GitHub issue 1283.
2018-01-17Merge branch 'obsd-master'Thomas Adam
2018-01-15Another redundant check, GitHub issue 1219.nicm
2018-01-15Some unused code, GitHub issue 1219.nicm
2017-08-30Merge branch 'obsd-master'Thomas Adam
2017-08-30Pass flags into cmd_find_from_* to fix prefer-unattached, reported bynicm
Thomas Sattler.
2017-08-28Merge branch 'obsd-master'Thomas Adam
2017-08-28Do not forbid targets to specify non-visible panes - the checks fornicm
visibility are better where the target is used. GitHub issue 1049.
2017-07-07Merge branch 'obsd-master'Thomas Adam