Skip to content

How can i create a new tab with cwd option in Rust API #4267

Answered by imsnif
dorage asked this question in Q&A
Discussion options

You must be logged in to vote

Best way to do this right now is to use https://docs.rs/zellij-tile/latest/zellij_tile/shim/fn.new_tabs_with_layout.html and specify cwd in the layout.

I can understand this isn't the best or most convenient solution though, so will try to add better APIs around creating custom tabs soon.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dorage
Comment options

Answer selected by dorage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants