aboutsummaryrefslogtreecommitdiff
path: root/status.c
Commit message (Collapse)AuthorAge
...
* Use the same time for both calls to format_expand_time.nicm2015-02-06
|
* status_replace can now become local to status.c and it no longer needsnicm2015-02-06
| | | | | the jobsflag argument. While here there is no need to repeat work that format_defaults already does.
* Add format_expand_time and use it instead of status_replace wherenicm2015-02-06
| | | | command execution is not needed.
* Wrap all the individual format_* calls in a single format_defaultsnicm2015-02-05
| | | | functions.
* Remove two unused arguments from status_replace.nicm2015-02-01
|
* typo in comment ;) ok nicmsthen2015-01-20
|
* Do not put a space between status-left/status-right and the window list,nicm2014-11-05
| | | | | instead move the space into the defaults for the options (so status-left now defaults to "[#S] ". From Balazs Kezes.
* Better format for printf format attributes.nicm2014-10-20
|
* Add xreallocarray and remove nmemb argument from xrealloc.nicm2014-10-08
|
* Take account of window-status-separator when checking window position,nicm2014-10-02
| | | | based on diff from Balazs Kezes.
* There is no longer a need for a paste_stack struct or for global_buffersnicm2014-04-24
| | | | to be global. Move to paste.c.
* Remove the monitor-content option and associated bits and bobs. It'snicm2014-04-17
| | | | | never worked very well. If there is a big demand for it to return, will consider better ways to do it.
* Do not replace ## with # in status_replace1 because it'll be done laternicm2014-04-02
| | | | by the format code.
* Make message-limit a server option.nicm2014-03-31
|
* Style nit - no space between function name and bracket.nicm2014-02-14
|
* Check for NULL session and whatnot in status_replace, from Thomas Adam.nicm2014-02-14
|
* Allow replacing each of the many sets of separate foo-{fg,bg,attr}nicm2014-01-28
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Whitespace nits, from Ben Boeckel.Nicholas Marriott2013-07-05
|
* Demote the old single-character replacement variables (#S and friends)Nicholas Marriott2013-05-31
| | | | to aliases of formats. From Tiago Cunha.
* Extend jobs to support writing and use that for copy-pipe instead ofNicholas Marriott2013-03-25
| | | | popen, from Chris Johnsen.
* evbuffer_readline returns allocated storage, don't leak it.Nicholas Marriott2013-03-22
|
* No more lint means no more ARGSUSED.Nicholas Marriott2013-03-22
|
* Aargh. Spaces -> tabs.Nicholas Marriott2013-03-21
|
* Add window-status-last-* options, from Boris Faure.Nicholas Marriott2012-11-27
|
* xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott2012-07-10
|
* Move a NULL check inside a function, from Tiago Cunha.Nicholas Marriott2012-07-09
|
* Use int not u_char for colours from options since they may have bit 8Nicholas Marriott2012-04-29
| | | | set to mark them as 256-colour. Reported by Chris Johnson.
* Add window-status-separator option, from Thomas Adam.Nicholas Marriott2012-04-23
|
* Check event_initialized before event_del if event may not have been setNicholas Marriott2012-03-17
| | | | up; libevent2 complains about this. Reported by Moriyoshi Koizumi.
* Add A and I keys for vi status line editing.Nicholas Marriott2012-03-04
|
* The wlmouse offset should be part of the client, not the server. FromNicholas Marriott2012-03-03
| | | | Ailin Nemui.
* Add an option to move the status line to the top of the screen,Nicholas Marriott2012-01-29
| | | | requested by many.
* Terminate strftime buffer properly even if a really long format stringNicholas Marriott2012-01-26
| | | | is given, from Tiago Cunha.
* Fix memory leak in error path, from Tiago Cunha.Nicholas Marriott2012-01-26
|
* Add some trivial additional status line attributes from jwcxz at usersNicholas Marriott2012-01-20
| | | | dot sourceforge dot net.
* Add space movement keys for vi mode in the status line from Ben Boeckel.Nicholas Marriott2012-01-20
|
* Make M-f and M-b work the same at the command prompt as in copy mode,Nicholas Marriott2011-12-01
| | | | pointed out by Romain Francoise.
* Add word movement and editing command for command prompt editing, fromNicholas Marriott2011-11-15
| | | | Ben Boeckel.
* Make window_pane_index work the same as window_index, from Ben Boeckel.Nicholas Marriott2011-11-15
|
* Option to change status line (message) background when using vi keys andNicholas Marriott2011-11-05
| | | | in command mode. From Ben Boeckel.
* Fix a couple of memory leaks, from marcel partap.Nicholas Marriott2011-08-20
|
* Make confirm-before prompt customizable with -p option likeNicholas Marriott2011-07-08
| | | | | | 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.
* Allow the initial context on prompts to be set with the new -I option toNicholas Marriott2011-07-02
| | | | command-prompt. From Tiago Cunha.
* Only redraw the status line on command update, not the entire clientNicholas Marriott2011-04-29
| | | | (big DOH).
* Provide #h for short hostname (no domain) from Michal Mazurek.Nicholas Marriott2011-04-24
|
* Add an option (mouse-select-window) which allows the mouse to be used byNicholas Marriott2011-04-18
| | | | clicking on the status line, written by hsim at gmx dot li.
* Change -t on display-message to be target-pane for the #[A-Z]Nicholas Marriott2011-03-29
| | | | replacements and add -c as target-client.
* Simplify the way jobs work and drop the persist type, so all jobs areNicholas Marriott2011-01-26
| | | | | | | | | | | | | | | | | 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).
* Handle a # at the end of a replacement string (such as status-left)Nicholas Marriott2011-01-03
| | | | correctly. Found by Thomas Adam.
* Move the user-visible parts of all options (names, types, limit, defaultNicholas Marriott2011-01-01
| | | | | | 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.