=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/format.c,v retrieving revision 1.257 retrieving revision 1.258 diff -u -r1.257 -r1.258 --- src/usr.bin/tmux/format.c 2020/06/01 19:39:25 1.257 +++ src/usr.bin/tmux/format.c 2020/06/11 19:43:34 1.258 @@ -1,4 +1,4 @@ -/* $OpenBSD: format.c,v 1.257 2020/06/01 19:39:25 nicm Exp $ */ +/* $OpenBSD: format.c,v 1.258 2020/06/11 19:43:34 nicm Exp $ */ /* * Copyright (c) 2011 Nicholas Marriott @@ -1154,6 +1154,13 @@ if (fe->value != NULL) format_add(ft, fe->key, "%s", fe->value); } +} + +/* Get format pane. */ +struct window_pane * +format_get_pane(struct format_tree *ft) +{ + return (ft->wp); } /* Add item bits to tree. */