aboutsummaryrefslogtreecommitdiff
path: root/status.c
Commit message (Collapse)AuthorAge
* Break the message storage function into its own function, useful fornicm2017-02-09
| | | | debugging.
* Cache status line position to reduce option lookups during output.nicm2017-02-03
|
* Add a window or pane id "tag" to each format tree and use it to separatenicm2017-02-03
| | | | | | 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.
* Make options_get_string return const string.nicm2017-01-13
|
* Incremental search in copy mode (on for emacs keys by default) - muchnicm2017-01-06
| | | | | | the same as normal searching but updates the cursor position and marked search terms as you type. C-r and C-s in the prompt repeat the search, once finished searching (with Enter), N and n work as before.
* Highlight all occurrences of search string after searching in copy mode.nicm2017-01-05
|
* Do not clear the prompt when a message is shown, just leave it around andnicm2016-12-07
| | | | return to it when the message is finished.
* Drop the edit mode key tables and just use fixed key bindings for thenicm2016-10-12
| | | | command prompt.
* The repeat prompt in both emacs and vi (and the old one in tmux) doesn'tnicm2016-10-12
| | | | | | support line editing and instead executes a command as soon as a non-number key is pressed. Add a -N flag to command-prompt for the same in copy mode. Reported by Theo Buehler.
* Fundamental change to how copy mode key bindings work:nicm2016-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | The vi-copy and emacs-copy mode key tables are gone, and instead copy mode commands are bound in one of two normal key tables ("copy-mode" or "copy-mode-vi"). Keys are bound to "send-keys -X copy-mode-command". So: bind -temacs-copy C-Up scroll-up bind -temacs-copy -R5 WheelUpPane scroll-up Becomes: bind -Tcopy-mode C-Up send -X scroll-up bind -Tcopy-mode WheelUpPane send -N5 -X scroll-up This allows the full command parser and command set to be used - for example, we can use the normal command prompt for searching, jumping, and so on instead of a custom one: bind -Tcopy-mode C-r command-prompt -p'search up' "send -X search-backward '%%'" command-prompt also gets a -1 option to only require on key press, which is needed for jumping. The plan is to get rid of mode keys entirely, so more to come eventually.
* Support UTF-8 entry into the command prompt.nicm2016-10-11
|
* Loads more static, except for cmd-*.c and window-*.c.nicm2016-10-10
|
* Allow repeat count to be specified in mode key tables with bind-key -R,nicm2016-09-12
| | | | | and set the default repeat count to 5 for WheelUp and WheelDown in copy-mode.
* Allow #[] in window-status-separator.nicm2016-06-06
|
* I no longer use my SourceForge address so replace it.nicm2016-01-19
|
* Don't rely on a calculation wrapping when applying message-limit, andnicm2016-01-01
| | | | break out of the loop early. From Nicolas Viennot.
* Style nits and line wrapping of function declarations.nicm2015-12-11
|
* Add cmdq as an argument to format_create and add a format for thenicm2015-12-11
| | | | command name (will also be used for more later).
* Remove format_create_flags and just pass flags to format_create.nicm2015-12-08
|
* If display-time is set to 0, show status messages until a key is pressed;tim2015-11-22
| | | | OK nicm@
* Instead of separate tables for different types of options, give eachnicm2015-11-20
| | | | option a scope type (server, session, window) in one table.
* Use __unused rather than rolling our own.nicm2015-11-18
|
* Long overdue change to the way we store cells in the grid: now, insteadnicm2015-11-13
| | | | | | | | | | | | | | | of storing a full grid_cell with UTF-8 data and everything, store a new type grid_cell_entry. This can either be the cell itself (for ASCII cells), or an offset into an extended array (per line) for UTF-8 data. This avoid a large (8 byte) overhead on non-UTF-8 cells (by far the majority for most users) without the complexity of the shadow array we had before. Grid memory without any UTF-8 is about half. The disadvantage that cells can no longer be modified in place and need to be copied out of the grid and back but it turned out to be lot less complicated than I expected.
* Nuke the utf8 and status-utf8 options and make tmux only a UTF-8nicm2015-11-12
| | | | | terminal. We still support non-UTF-8 terminals outside tmux, but inside it is always UTF-8 (as when the utf8 and status-utf8 options were on).
* Support UTF-8 key bindings by expanding the key type from int tonicm2015-11-12
| | | | | | uint64_t and converting UTF-8 to Unicode on input and the reverse on output. (This allows key bindings, there are still omissions - the largest being that the various prompts do not accept UTF-8.)
* Move struct options into options.c.nicm2015-10-27
|
* Use client pointer not file descriptor in logging.nicm2015-10-20
|
* Make refresh-client force update of jobs, from Sina Siadat.nicm2015-09-14
|
* Move struct paste_buffer out of tmux.h.nicm2015-08-29
|
* Run status update on a per-client timer at status-interval.nicm2015-08-28
|
* status_out and associated data structures are no longer used.nicm2015-07-29
|
* Tidy up the way terminals are described and move some structs out of tmux.h.nicm2015-07-28
|
* Add an option (history-file) for a file to save/restore command promptnicm2015-07-20
| | | | history, from Olof-Joachim Frahm.
* Move the jobs output cache into the formats code so that #() work morenicm2015-05-27
| | | | generally (for example, again working in set-titles-string).
* 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.