summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/options-table.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2022-02-17 09:58:48 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2022-02-17 09:58:48 +0000
commit0cff9850dd6b5114795ffdf0ec4715b75172cb92 (patch)
treee27886cf800302b6bb3934cfa663c5582159c830 /usr.bin/tmux/options-table.c
parentb226a13173537bcc4cf11fba617c167d179ac202 (diff)
Add a window-resized hook which is fired when the window is actually
resized which may be later than the client resize, GitHub issue 2995.
Diffstat (limited to 'usr.bin/tmux/options-table.c')
-rw-r--r--usr.bin/tmux/options-table.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/options-table.c b/usr.bin/tmux/options-table.c
index a84d7f0be3c..231161e12f3 100644
--- a/usr.bin/tmux/options-table.c
+++ b/usr.bin/tmux/options-table.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: options-table.c,v 1.157 2022/02/15 13:11:29 nicm Exp $ */
+/* $OpenBSD: options-table.c,v 1.158 2022/02/17 09:58:47 nicm Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1246,6 +1246,7 @@ const struct options_table_entry options_table[] = {
OPTIONS_TABLE_HOOK("window-linked", ""),
OPTIONS_TABLE_WINDOW_HOOK("window-pane-changed", ""),
OPTIONS_TABLE_WINDOW_HOOK("window-renamed", ""),
+ OPTIONS_TABLE_WINDOW_HOOK("window-resized", ""),
OPTIONS_TABLE_HOOK("window-unlinked", ""),
{ .name = NULL }