summaryrefslogtreecommitdiffstats
path: root/control-notify.c
AgeCommit message (Collapse)Author
2022-10-28Add paste-buffer-deleted notification and fix name of paste-buffer-changed.nicm
2022-08-15Notify when a paste buffer is deleted, GitHub issue 3302 from Georgenicm
Nachman.
2021-03-16Add client-detached notification in control mode, from Mohsin Kaleem.nicm
2021-01-20Change so that window_flags escapes # automatically which means configsnicm
will not have to change. A new format window_raw_flags contains the old unescaped version.
2020-05-21Support code for control mode flow control: allow clients to havenicm
separate offsets (used and acknowleged) into the pane buffers; turn off reading from panes when no clients can accept the data; and add a -A flag to refresh-client to let clients turn receiving a pane on and off.
2020-03-16Terminate the output buffer for control mode output - it is now used asnicm
a string. GitHub issue 2114.
2019-12-12Rewrite the code for reading and writing files. Now, if the client isnicm
not attached, the server process asks it to open the file, similar to how works for stdin, stdout, stderr. This makes special files like /dev/fd/X work (used by some shells). stdin, stdout and stderr and control mode are now just special cases of the same mechanism. This will also make it easier to use for other commands that read files such as source-file.
2019-07-10Add -F to refresh-client to specify flags for control clients - one flagnicm
at the moment, no-output which turns off forwarding pane output. From Thomas Adam. GitHub issue 1834.
2019-05-07Do not use evbuffer_add_buffer because it is destructive and doesn'tnicm
work in newer libevent.
2018-11-19evbuffer_new and bufferevent_new can both fail (when malloc fails) andnicm
return NULL. GitHub issue 1547.
2017-05-04Some new notifications, mainly for active pane and current window andnicm
session: pane-mode-changed window-pane-changed client-session-changed session-window-changed From Joshua Brot.
2017-03-08Add a helper function for the most common format_create/defaults/expandnicm
pattern.
2017-02-03Add a window or pane id "tag" to each format tree and use it to separatenicm
jobs, this means that if the same job is used for different windows or panes (for example in pane-border-format), it will be run separately for each pane.
2016-10-16Use the notify name string instead of going via an enum and changenicm
existing hooks to use notifys instead.
2016-10-15Rename a function for consistency and some spacing nits.nicm
2016-01-19I no longer use my SourceForge address so replace it.nicm
2015-12-11Add cmdq as an argument to format_create and add a format for thenicm
command name (will also be used for more later).
2015-12-08Remove format_create_flags and just pass flags to format_create.nicm
2015-11-18Use __unused rather than rolling our own.nicm
2015-11-13Add window_visible_layout which ignores zoomed panes and use it fornicm
control mode (which needs to know all panes), from George Nachman.
2015-04-24Convert clients list into a TAILQ.nicm
2015-02-05Wrap all the individual format_* calls in a single format_defaultsnicm
functions.
2014-04-23Differentiate between linked and unlinked window closes and renames,nicm
like we already do for adds. From Andre Masella.
2013-03-26Fix compiler warnings, missing #include. From Thomas Adam.Nicholas Marriott
2013-03-25Include prefix on ids, from George Nachman.Nicholas Marriott
2013-03-25Rename session idx to session id throughout and add $ prefix to targetsNicholas Marriott
to use it, extended from a diff from George Nachman.
2013-03-25Remove some unused/unnecessary control notifications, from George Nachman.Nicholas Marriott
2012-09-25Add notification for input from a pane, from George Nachman.Nicholas Marriott
2012-09-03Send notifications to control clients. Also don't redraw client whenNicholas Marriott
suspended.