aboutsummaryrefslogtreecommitdiff
path: root/format.c
Commit message (Collapse)AuthorAge
...
| * Add a -S flag to new-window to make it select the existing window if onenicm2021-02-05
| | | | | | | | | | | | | | with the given name already exists rather than failing with an error. Also add a format to check if a window or session name exists which allows the same with other commands. Requested by and discussed with kn@.
* | Merge branch 'obsd-master' into masterThomas Adam2021-01-29
|\|
| * Trim output overwritten by later text or clears completely rather thannicm2021-01-29
| | | | | | | | | | only in a few cases. This means we can better track when a line should wrap. GitHub issue 2537.
* | Merge branch 'obsd-master' into masterThomas Adam2021-01-20
|\|
| * Change so that window_flags escapes # automatically which means configsnicm2021-01-20
| | | | | | | | | | will not have to change. A new format window_raw_flags contains the old unescaped version.
* | 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
|\|