aboutsummaryrefslogtreecommitdiff
path: root/status.c
Commit message (Collapse)AuthorAge
...
* Add struct status_line to hold status line members of struct client, notnicm2018-02-05
| | | | used yet but will be soon. From Thomas Adam.
* Add C-g at command prompt for emacs people, GitHub issue 1213.nicm2018-01-01
|
* Draw command prompt correctly with status line off.nicm2017-12-27
|
* Remove unused variable from Thomas Adam.nicm2017-12-18
|
* Add a "fast" version of screen_write_copy for tree mode that doesn't donicm2017-11-02
| | | | all the checks and selection and marking stuff needed for copy mode.
* Clear status line with spaces again so reverse works, spotted by sthen.nicm2017-10-20
|
* Infrastructure for drawing status lines of more than one line in height,nicm2017-10-16
| | | | still only one is allowed but this lets tmux draw bigger ones.
* Add a flag to stop the prompt input being expanded.nicm2017-05-29
|
* Tidy command prompt callbacks and pass in the client.nicm2017-05-17
|
* Add a format for the last search string in copy mode and fix the promptnicm2017-05-03
| | | | so it can work when in -I, suggested by Suraj N Kurapati.
* In order that people can use formats like #D in #() in the status linenicm2017-05-01
| | | | | | | | | | | | | | and not have to wait for an update when they change pane, we allow commands to run more than once a second if the expanded form changes. Unfortunately this can mean them being run far too often (pretty much continually) when multiple clients exist, because some formats (including #D) will always differ between clients. To avoid this, give each client its own tree of jobs which means that the same command will be different instances for each client - similar to how we have the tag to separate commands for different panes. GitHub issue 889; test case reported by Paul Johnson.
* Memory leak from David CARLIER.nicm2017-04-22
|
* 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.