aboutsummaryrefslogtreecommitdiff
path: root/status.c
Commit message (Collapse)AuthorAge
* Merge branch 'obsd-master'Thomas Adam2013-07-06
|\
| * Whitespace nits, from Ben Boeckel.Nicholas Marriott2013-07-05
| |
* | Merge branch 'obsd-master'Thomas Adam2013-05-31
|\|
| * 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
| |
* | Extend jobs to support writing and use that for copy-pipe instead of popen,Nicholas Marriott2013-03-21
| | | | | | | | from Chris Johnsen.
* | evbuffer_readline returns allocated storage, don't leak it.Nicholas Marriott2013-02-20
| |
* | Add copy-pipe mode command to copy selection and also pipe to a command.Nicholas Marriott2013-02-19
| |
* | No more lint means no more ARGSUSED.Nicholas Marriott2013-02-17
| |
* | Spaces -> tabs.Nicholas Marriott2013-02-14
| |
* | Do not leak formats in status_replace.Nicholas Marriott2013-02-14
| |
* | Add a format client_prefix which is 1 if prefix key has been pressed, used forNicholas Marriott2013-02-10
| | | | | | | | example #{?client_prefix,X,Y}. Also a few extra server_client_status needed.
* | Allow formats in status options.Nicholas Marriott2013-02-10
| |
* | Merge branch 'obsd-master'Thomas Adam2012-11-27
|\| | | | | | | Sync from OpenBSD.
| * 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.
| * Change from a per-session stack of buffers to one global stack which isNicholas Marriott2010-12-30
| | | | | | | | | | | | | | 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.
| * Add a function to create window flags rather than doing the same thingNicholas Marriott2010-12-30
| | | | | | | | in two places. From Thomas Adam.
| * Oops, these functions return a const char *, so make the local variableNicholas Marriott2010-12-11
| | | | | | | | const as well.
| * Make the prompt history global for all clients which is much more useful ↵Nicholas Marriott2010-12-11
| | | | | | | | than per-client history.
| * Add an option to alert (monitor) for silence (lack of activity) in aNicholas Marriott2010-12-06
| | | | | | | | window. From Thomas Adam.
| * Having a list of winlinks->alerts for each session is stupid, just storeNicholas Marriott2010-06-21
| | | | | | | | the alert flags directly in the winlink itself.