aboutsummaryrefslogtreecommitdiff
path: root/format.c
Commit message (Collapse)AuthorAge
* Merge branch 'obsd-master' into masterThomas Adam2020-12-30
|\
| * Use right format for session loop, GitHub issue 2519.nicm2020-12-30
| |
* | Merge branch 'obsd-master' into masterThomas Adam2020-12-15
|\|
| * Make synchronize-panes a pane option and add -U flag to set-option tonicm2020-12-15
| | | | | | | | unset an option on all panes. GitHub issue 2491 from Rostislav Nesin.
* | Merge branch 'obsd-master' into masterThomas Adam2020-12-01
|\|
| * Make replacement of ##s consistent when drawing formats, whethernicm2020-12-01
| | | | | | | | | | | | followed by [ or not. Add a flag (e) to the q: format modifier to double up #s and use it for the window_flags format variable so it doesn't end up escaping any following text. GitHub issue 2485.
* | Merge branch 'obsd-master'Thomas Adam2020-11-09
|\|
| * Change how escaping is processed for formats so that ## and # can benicm2020-11-09
| | | | | | | | | | used in styles. Also add a 'w' format modifier for the width. From Chas J Owens IV in GitHub issue 2389.
* | Merge branch 'obsd-master'Thomas Adam2020-11-02
|\|
| * Add numeric comparisons for formats, from teo_paul1 at yahoo dot com innicm2020-11-02
| | | | | | | | GitHub issue 2442.
* | Merge branch 'obsd-master'Thomas Adam2020-10-06
|\|
| * Fix a last minute change in previous.nicm2020-10-06
| |
| * Add a state struct to store working state during format expansionnicm2020-10-06
| | | | | | | | | | | | | | instead of modiyfing the format tree. Use this to disable nested job expansion so that the result of #() is not expanded again. Reported by Chas J Owens IV, GitHub issue 2390.
* | Merge branch 'obsd-master'Thomas Adam2020-09-16
|\|
| * Fix some warnings, GitHub issue 2382.nicm2020-09-16
| |
* | Merge branch 'obsd-master'Thomas Adam2020-08-27
|\|
| * Add pane_last format, GitHub issue 2353.nicm2020-08-27
| |
* | Merge branch 'obsd-master'Thomas Adam2020-08-20
|\|
| * Add n: modifier to get length of a format, also automatically expandnicm2020-08-20
| | | | | | | | variable name arguments again if they contain a #{.
* | Merge branch 'obsd-master'Thomas Adam2020-06-23
|\|
| * Use xvasprintf not vasprintf.nicm2020-06-23
| |
* | Merge branch 'obsd-master'Thomas Adam2020-06-11
|\|
| * Add some formats for search in copy mode (search_present, search_match).nicm2020-06-11
| | | | | | | | GitHub issue 2268.
* | Merge branch 'obsd-master'Thomas Adam2020-06-02
|\|
| * Change format callback to return value rather than storing it in the entry.nicm2020-06-01
| |
* | Merge branch 'obsd-master'Thomas Adam2020-05-25
|\|
| * Make some data types consistent.nicm2020-05-25
| |
| * Add a customize mode where keys and options may be browsed and changed,nicm2020-05-16
| | | | | | | | | | includes adding a brief description of each option. Bound to "C" by default.
| * Allow a custom time format to be given to the t format modifier.nicm2020-05-16
| |
| * Change message log to be per server rather than per client and includenicm2020-05-16
| | | | | | | | every command that is run.
| * Change the existing client flags for control mode to apply for anynicm2020-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | client, use the same mechanism for the read-only flag and add an ignore-size flag. refresh-client -F has become -f (-F stays for backwards compatibility) and attach-session and switch-client now have -f flags also. A new format "client_flags" lists the flags and is shown by list-clients by default. This separates the read-only flag from "ignore size" behaviour (new ignore-size) flag - both behaviours are useful in different circumstances. attach -r and switchc -r remain and set or toggle both flags together.
| * Call format_defaults_window for panes as well.nicm2020-05-16
| |
| * Tweak the default choose modes formats:nicm2020-05-16
| | | | | | | | | | | | - Only show pane title if it is not default and not empty. - Add a prettier time format and use that instead of long ctime(). - Remove clutter and change the order.
* | Add a customize mode where options may be browsed and changed, includes addingNicholas Marriott2020-05-08
| | | | | | | | a brief description of each option. Bound to "C" by default.
* | Allow a custom time format to be given to the t format modifier.Nicholas Marriott2020-05-07
| |
* | Fix pretty time function to actually work and allow time format to be appliedNicholas Marriott2020-05-07
| | | | | | | | to any string that is suitable.
* | Change message log to be per server rather than per client and include everyNicholas Marriott2020-05-06
| | | | | | | | command that is run.
* | Change the existing client flags for control mode to apply for any client, useNicholas Marriott2020-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | the same mechanism for the read-only flag and add an ignore-size flag. refresh-client -F has become -f (-F stays for backwards compatibility) and attach-session and switch-client now have -f flags also. A new format "client_flags" lists the flags and is shown by list-clients by default. This separates the read-only flag from "ignore size" behaviour (new ignore-size) flag - both behaviours are useful in different circumstances. attach -r and switchc -r remain and set or toggle both flags together.
* | Call format_defaults_window for panes as well.Nicholas Marriott2020-04-28
| |
* | Add some additional format helper functions.Nicholas Marriott2020-04-27
| |
* | Move terminal features into a single file.Nicholas Marriott2020-04-24
| |
* | Tweak the default choose modes formats:Nicholas Marriott2020-04-23
| | | | | | | | | | | | - Only show pane title if it is not default and not empty. - Add a prettier time format and use that instead of long ctime(). - Remove clutter and change the order.
* | Merge branch 'obsd-master'Thomas Adam2020-04-22
|\|
| * Add a session_marked format like window_marked.nicm2020-04-22
| |
* | Merge branch 'obsd-master'Thomas Adam2020-04-20
|\|
| * Tidy up the terminal detection and feature code and add named sets ofnicm2020-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | terminal features, each of which are defined in one place and map to a builtin set of terminfo(5) capabilities. Features can be specified based on TERM with a new terminal-features option or with the -T flag when running tmux. tmux will also detect a few common terminals from the DA and DSR responses. This is intended to make it easier to configure tmux's use of terminfo(5) even in the presence of outdated ncurses(3) or terminfo(5) databases or for features which do not yet have a terminfo(5) entry. Instead of having to grok terminfo(5) capability names and what they should be set to in the terminal-overrides option, the user can hopefully just give tmux a feature name and let it do the right thing. The terminal-overrides option remains both for backwards compatibility and to allow tweaks of individual capabilities. tmux already did much of this already, this makes it tidier and simpler to configure.
* | Merge branch 'obsd-master'Thomas Adam2020-04-18
|\|
| * Use size_t not u_int for the bytes counters and fix a const missing.nicm2020-04-18
| |
* | Merge branch 'obsd-master'Thomas Adam2020-04-18
|\|
| * Use peek line function instead of hoking in the array directly.nicm2020-04-18
| |