Collapsing the tree frees the list items, so we cannot take a reference
into that list before calling collapse. This could be the source of the
crash reported to the mailing list. This changes the code so we get a
pointer to the session before collapsing the tree.
Additionally I've found two mem
This is useful for finding the right window, and can be used
by other programs such as lash
---
cmd-list-windows.c |1 +
1 file changed, 1 insertion(+)
diff --git a/cmd-list-windows.c b/cmd-list-windows.c
index 3be8ade..b36b5ee 100644
--- a/cmd-list-windows.c
+++ b/cmd-list-windows.c
@@ -99,6