summaryrefslogtreecommitdiffstats
path: root/options-table.c
diff options
context:
space:
mode:
authornicm <nicm>2015-05-12 15:29:29 +0000
committernicm <nicm>2015-05-12 15:29:29 +0000
commitec34439f9cddcbde78d5fa2c628e454d2df5dd53 (patch)
treee1fb716f1fc882c74608d7b16e61ec50b135e6f0 /options-table.c
parente958db09a72c2308d3edc8384be02714eb068ae7 (diff)
Add a session_alerts format which is a list of all the alerts in the
current session in symbolic form (something like "0!,4~,5!"). Use this in the default set-titles-string. Prompted by a request from Jan ONDREJ.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options-table.c b/options-table.c
index 44d36dca..4ad45d37 100644
--- a/options-table.c
+++ b/options-table.c
@@ -296,7 +296,7 @@ const struct options_table_entry session_options_table[] = {
{ .name = "set-titles-string",
.type = OPTIONS_TABLE_STRING,
- .default_str = "#S:#I:#W - \"#T\""
+ .default_str = "#S:#I:#W - \"#T\" #{session_alerts}"
},
{ .name = "status",