aboutsummaryrefslogtreecommitdiff
path: root/status.c
Commit message (Collapse)AuthorAge
* Remove ARRAY_* from history and expand completion to complete a) layoutnicm2015-05-06
| | | | names and b) targets beginning with -t or -s.
* Make message log a TAILQ.nicm2015-04-25
|
* Set working directory for run-shell and if-shell.nicm2015-04-24
|
* Rewrite of tmux mouse support which was a mess. Instead of havingnicm2015-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | options for "mouse-this" and "mouse-that", mouse events may be bound as keys and there is one option "mouse" that turns on mouse support entirely (set -g mouse on). See the new MOUSE SUPPORT section of the man page for description of the key names and new flags (-t= to specify the pane or window under mouse as a target, and send-keys -M to pass through a mouse event). The default builtin bindings for the mouse are: bind -n MouseDown1Pane select-pane -t=; send-keys -M bind -n MouseDown1Status select-window -t= bind -n MouseDrag1Pane copy-mode -M bind -n MouseDrag1Border resize-pane -M To get the effect of turning mode-mouse off, do: unbind -n MouseDrag1Pane unbind -temacs-copy MouseDrag1Pane The old mouse options are now gone, set-option -q may be used to suppress warnings if mixing configuration files.
* 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.