From cd208c9d72df79a34024df6b8eb8f984613de8ef Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 12 Apr 2021 06:50:25 +0000 Subject: Permit shortcut keys in buffer, client, tree modes to be configured with a format; the default remains the line number. GitHub issue 2636. --- window-customize.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'window-customize.c') diff --git a/window-customize.c b/window-customize.c index a1f191b5..fce002fd 100644 --- a/window-customize.c +++ b/window-customize.c @@ -890,8 +890,8 @@ window_customize_init(struct window_mode_entry *wme, struct cmd_find_state *fs, data->data = mode_tree_start(wp, args, window_customize_build, window_customize_draw, NULL, window_customize_menu, - window_customize_height, data, window_customize_menu_items, NULL, 0, - &s); + window_customize_height, NULL, data, window_customize_menu_items, + NULL, 0, &s); mode_tree_zoom(data->data, args); mode_tree_build(data->data); -- cgit From e6abe55134df1b9dc3b7dd7f3a65dff272a35bb7 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 12 Apr 2021 09:36:12 +0000 Subject: Add a flag to disable keys to close a message, GitHub issue 2625. --- window-customize.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'window-customize.c') diff --git a/window-customize.c b/window-customize.c index fce002fd..34a13f73 100644 --- a/window-customize.c +++ b/window-customize.c @@ -999,7 +999,7 @@ window_customize_set_option_callback(struct client *c, void *itemdata, fail: *cause = toupper((u_char)*cause); - status_message_set(c, -1, 1, "%s", cause); + status_message_set(c, -1, 1, 0, "%s", cause); free(cause); return (0); } @@ -1205,7 +1205,7 @@ window_customize_set_command_callback(struct client *c, void *itemdata, fail: *error = toupper((u_char)*error); - status_message_set(c, -1, 1, "%s", error); + status_message_set(c, -1, 1, 0, "%s", error); free(error); return (0); } -- cgit