Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

splited pans in JSON configuration profile #699

Closed
StoryDevOffical opened this issue Aug 19, 2023 · 2 comments
Closed

splited pans in JSON configuration profile #699

StoryDevOffical opened this issue Aug 19, 2023 · 2 comments

Comments

@StoryDevOffical
Copy link

StoryDevOffical commented Aug 19, 2023

Hi there,

I would to create a new profile with 1 tab and 3 horizontally split pan.
I can achieve it manually but i want to template it in a JSON profile.
I already have a profile with 3 tabs, but it's not what i want.

Either here or here, any documentation found for Full JSON configuration reference.

have tried some things from ChatGPT but it does not work

"actions": [
    {
      "command": {
        "action": "splitPane",
        "split": "vertical",
        "commandline": "ssh -t user@host 'htop'"
      },
      "name": "Split 1"
    },
    {
      "command": {
        "action": "splitPane",
        "split": "vertical",
        "commandline": "ssh -t vuser@host 'htop'"
      },
      "name": "Split 2"
    },
    {
      "command": {
        "action": "splitPane",
        "split": "vertical",
        "commandline": "ssh -t user@host 'htop'"
      },
      "name": "Split 3"
    }
  ],
"splitMode": "horizontal",
"splitDirection": "bottom",
"splits": [
    {
        "commandline": ,
        "split": "auto"
    },
    {
        "commandline": ,
        "split": "auto"
    },
    {
        "commandline": ,
        "split": "auto"
    }
],

On another hand, is it possible to save a current tab in a new profile (and then create a new JSON configuration) ?

have a nice day,

@zadjii-msft
Copy link
Contributor

have tried some things from ChatGPT but it does not work

lmao why though. LLMs are fun suggestions but not usually a good source of definitive truth.

This isn't supported yet. We're tracking this request in microsoft/terminal#3759

@StoryDevOffical
Copy link
Author

#lmao why though. LLMs are fun suggestions but not usually a good source of definitive truth.

LLMs can be useful in solving configuration problems for basic features. No one here has considered them as a source of absolute truth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants