Group items with bracket doesn't work #482
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think the problem is that the tmux.window items are being created after the bracket is created. If the items do not exist when creating the bracket, they will not be included. You need to remove and readd the bracket in your plugins/tmux.sh script after adding the tmux.window items then it should work. Alternatively, instead of deleting and readding the tmux.window items in the plugins/tmux.sh script, you could add some number (say 16) of tmux.window items in the items/tmux.sh already and simply toggle them visible/invisible with the |
Beta Was this translation helpful? Give feedback.
I think the problem is that the tmux.window items are being created after the bracket is created. If the items do not exist when creating the bracket, they will not be included. You need to remove and readd the bracket in your plugins/tmux.sh script after adding the tmux.window items then it should work.
Alternatively, instead of deleting and readding the tmux.window items in the plugins/tmux.sh script, you could add some number (say 16) of tmux.window items in the items/tmux.sh already and simply toggle them visible/invisible with the
drawing
property in the tmux script, then your bracket logic should also work fine.