aboutsummaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-05-08 19:10:09 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-05-08 19:10:09 +0100
commita61cbf1c33d8d61b564f95053cbf96443126dd87 (patch)
tree14ede2310b94ea68fb5c2366e7cbb9798f13ff78 /format.c
parent708e9bc072eddc2a3d83bc5df45de2825b011ed1 (diff)
downloadrtmux-a61cbf1c33d8d61b564f95053cbf96443126dd87.tar.gz
rtmux-a61cbf1c33d8d61b564f95053cbf96443126dd87.tar.bz2
rtmux-a61cbf1c33d8d61b564f95053cbf96443126dd87.zip
Add a customize mode where options may be browsed and changed, includes adding
a brief description of each option. Bound to "C" by default.
Diffstat (limited to 'format.c')
-rw-r--r--format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/format.c b/format.c
index 2c3e9046..3af7ae69 100644
--- a/format.c
+++ b/format.c
@@ -1392,7 +1392,7 @@ format_find(struct format_tree *ft, const char *key, int modifiers,
if (o == NULL)
o = options_parse_get(global_s_options, key, &idx, 0);
if (o != NULL) {
- found = options_tostring(o, idx, 1);
+ found = options_to_string(o, idx, 1);
goto found;
}