mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-19 01:46:33 +02:00
Extend the modifiers allowed before formats: as well as the existing
#{=10:...} length limit, add #{t:...} to convert a time_t format to a string, #{b:...} for basename and #{d:...} for dirname. Remove all the foo_string time formats as they can now be replaced by "t:", for example #{window_activity_string} becomes #{t:window_activity}.
This commit is contained in:
1
tmux.h
1
tmux.h
@@ -1453,7 +1453,6 @@ struct format_tree *format_create_flags(int);
|
||||
void format_free(struct format_tree *);
|
||||
void printflike(3, 4) format_add(struct format_tree *, const char *,
|
||||
const char *, ...);
|
||||
const char *format_find(struct format_tree *, const char *);
|
||||
char *format_expand_time(struct format_tree *, const char *, time_t);
|
||||
char *format_expand(struct format_tree *, const char *);
|
||||
void format_defaults(struct format_tree *, struct client *,
|
||||
|
Reference in New Issue
Block a user