How to traverse pane tree #5394
Answered
by
wez
AbaoFromCUG
asked this question in
Q&A
-
What Operating System(s) are you running on?Linux Wayland Which Wayland compositor or X11 Window manager(s) are you using?Hyprland WezTerm version20240505-175915-8fa4ba9a Ask your question!In order to save/restore tab layout in lua, I need to traverse pane tree. But I only can get the pane basic information(index, left, top, width, height), without the tree level or others. I had read the documents:
Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
wez
May 10, 2024
Replies: 1 comment 2 replies
-
Take a look at the mux module: https://wezfurlong.org/wezterm/config/lua/wezterm.mux/index.html |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not going to expose this as the binary tree is an implementation detail that I am planning to change