summaryrefslogtreecommitdiffstats
path: root/status.c
AgeCommit message (Collapse)Author
2014-04-24There is no longer a need for a paste_stack struct or for global_buffersnicm
to be global. Move to paste.c.
2014-04-17Remove the monitor-content option and associated bits and bobs. It'snicm
never worked very well. If there is a big demand for it to return, will consider better ways to do it.
2014-04-02Do not replace ## with # in status_replace1 because it'll be done laternicm
by the format code.
2014-03-31Make message-limit a server option.nicm
2014-02-14Style nit - no space between function name and bracket.nicm
2014-02-14Check for NULL session and whatnot in status_replace, from Thomas Adam.nicm
2014-01-28Allow replacing each of the many sets of separate foo-{fg,bg,attr}nicm
options with a single foo-style option. For example: set -g status-fg yellow set -g status-bg red set -g status-attr blink Becomes: set -g status-style fg=yellow,bg=red,blink The -a flag to set can be used to add to rather than replace a style. So: set -g status-bg red Becomes: set -ag status-style bg=red Currently this is fully backwards compatible (all *-{fg,bg,attr} options remain) but the plan is to deprecate them over time. From Tiago Cunha.
2013-07-05Whitespace nits, from Ben Boeckel.Nicholas Marriott
2013-05-31Demote the old single-character replacement variables (#S and friends)Nicholas Marriott
to aliases of formats. From Tiago Cunha.
2013-03-25Extend jobs to support writing and use that for copy-pipe instead ofNicholas Marriott
popen, from Chris Johnsen.
2013-03-22evbuffer_readline returns allocated storage, don't leak it.Nicholas Marriott
2013-03-22No more lint means no more ARGSUSED.Nicholas Marriott
2013-03-21Aargh. Spaces -> tabs.Nicholas Marriott
2012-11-27Add window-status-last-* options, from Boris Faure.Nicholas Marriott
2012-07-10xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott
2012-07-09Move a NULL check inside a function, from Tiago Cunha.Nicholas Marriott
2012-04-29Use int not u_char for colours from options since they may have bit 8Nicholas Marriott
set to mark them as 256-colour. Reported by Chris Johnson.
2012-04-23Add window-status-separator option, from Thomas Adam.Nicholas Marriott
2012-03-17Check event_initialized before event_del if event may not have been setNicholas Marriott
up; libevent2 complains about this. Reported by Moriyoshi Koizumi.
2012-03-04Add A and I keys for vi status line editing.Nicholas Marriott
2012-03-03The wlmouse offset should be part of the client, not the server. FromNicholas Marriott
Ailin Nemui.
2012-01-29Add an option to move the status line to the top of the screen,Nicholas Marriott
requested by many.
2012-01-26Terminate strftime buffer properly even if a really long format stringNicholas Marriott
is given, from Tiago Cunha.
2012-01-26Fix memory leak in error path, from Tiago Cunha.Nicholas Marriott
2012-01-20Add some trivial additional status line attributes from jwcxz at usersNicholas Marriott
dot sourceforge dot net.
2012-01-20Add space movement keys for vi mode in the status line from Ben Boeckel.Nicholas Marriott
2011-12-01Make M-f and M-b work the same at the command prompt as in copy mode,Nicholas Marriott
pointed out by Romain Francoise.
2011-11-15Add word movement and editing command for command prompt editing, fromNicholas Marriott
Ben Boeckel.
2011-11-15Make window_pane_index work the same as window_index, from Ben Boeckel.Nicholas Marriott
2011-11-05Option to change status line (message) background when using vi keys andNicholas Marriott
in command mode. From Ben Boeckel.
2011-08-20Fix a couple of memory leaks, from marcel partap.Nicholas Marriott
2011-07-08Make confirm-before prompt customizable with -p option likeNicholas Marriott
command-prompt. Also move responsibility for calling status_replace into status_prompt_{set,update} and add #W and #P to the default kill-window and kill-pane prompts. By Tiago Cunha.
2011-07-02Allow the initial context on prompts to be set with the new -I option toNicholas Marriott
command-prompt. From Tiago Cunha.
2011-04-29Only redraw the status line on command update, not the entire clientNicholas Marriott
(big DOH).
2011-04-24Provide #h for short hostname (no domain) from Michal Mazurek.Nicholas Marriott
2011-04-18Add an option (mouse-select-window) which allows the mouse to be used byNicholas Marriott
clicking on the status line, written by hsim at gmx dot li.
2011-03-29Change -t on display-message to be target-pane for the #[A-Z]Nicholas Marriott
replacements and add -c as target-client.
2011-01-26Simplify the way jobs work and drop the persist type, so all jobs areNicholas Marriott
fire-and-forget. Status jobs now managed with two trees of output (new and old), rather than storing the output in the jobs themselves. When the status line is processed any jobs which don't appear in the new tree are started and the output from the old tree displayed. When a job finishes it updates the new tree with its output and that is used for any subsequent redraws. When the status interval expires, the new tree is moved to the old so that all jobs are run again. This fixes the "#(echo %H:%M:%S)" problem which would lead to thousands of identical persistent jobs and high memory use (this can still be achieved by adding "sleep 30" but that is much less likely to happen by accident).
2011-01-03Handle a # at the end of a replacement string (such as status-left)Nicholas Marriott
correctly. Found by Thomas Adam.
2011-01-01Move the user-visible parts of all options (names, types, limit, defaultNicholas Marriott
values) together into one set of tables in options-table.c. Also clean up and simplify cmd-set-options.c and move a common print function into option-table.c.
2010-12-30Change from a per-session stack of buffers to one global stack which isNicholas Marriott
much more convenient and also simplifies lot of code. This renders copy-buffer useless and makes buffer-limit now a server option. By Tiago Cunha.
2010-12-30Add a function to create window flags rather than doing the same thingNicholas Marriott
in two places. From Thomas Adam.
2010-12-11Oops, these functions return a const char *, so make the local variableNicholas Marriott
const as well.
2010-12-11Make the prompt history global for all clients which is much more useful ↵Nicholas Marriott
than per-client history.
2010-12-06Add an option to alert (monitor) for silence (lack of activity) in aNicholas Marriott
window. From Thomas Adam.
2010-06-21Having a list of winlinks->alerts for each session is stupid, just storeNicholas Marriott
the alert flags directly in the winlink itself.
2010-05-14Colour+attribute options for status line alerts, from Alex Alexander.Nicholas Marriott
2010-03-31Don't accept keys with modifiers as input. Fixes crash reported by BrianNicholas Marriott
R Landy.
2010-03-27Don't leak job command in #().Nicholas Marriott
2010-03-22Dead functions, lint.Nicholas Marriott