zellij-org / zellij

A terminal workspace with batteries included

Home Page:https://zellij.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Layout's exact file location are not exposed to plugins. `NewTabsWithLayout` only takes ready made layout data.

CraigglesO opened this issue · comments

Currently, the API has a function NewTabsWithLayout that requires a layout to be passed in. However, each session stores layouts as LayoutInfo which gives the name but not the file location. The best case for me is to either add another function or update NewTabsWithLayout to use the name and grab the layout information from the file for the plugin.

Implemented in #3305 - thanks for your feedback!

You both exposed new_tabs_with_layout_info AND layout_dir really quickly. Wow sir you are awesome. TYSM.