mirror of
https://github.com/tmux/tmux.git
synced 2026-10-08 19:14:20 +00:00
Merge branch 'obsd-master'
This commit is contained in:
6
format.c
6
format.c
@@ -5444,6 +5444,12 @@ format_replace(struct format_expand_state *es, const char *key, size_t keylen,
|
||||
sc->reversed = 0;
|
||||
break;
|
||||
}
|
||||
if (strchr(fm->argv[0], 'i') != NULL)
|
||||
sc->order = SORT_INDEX;
|
||||
else if (strchr(fm->argv[0], 'z') != NULL)
|
||||
sc->order = SORT_Z;
|
||||
else
|
||||
sc->order = SORT_CREATION;
|
||||
if (strchr(fm->argv[0], 'r') != NULL)
|
||||
sc->reversed = 1;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user