pane_new
Create a browser pane and make it active. Optionally navigate to a URL or scope the pane to a project for isolated storage.
Instructions
Open a new browser pane and make it active. Optionally navigate it to a URL and/or scope it to a project. Pass a saved project (resolves cwd/cmd/url/name), or explicit cwd/cmd/label, to scope the pane — cwd isolates its storage partition and names it. With none of these it's a blank, unscoped pane. To switch panes use pane_select; to close use pane_close. (Cockpit only.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | No | Dev command to associate with the pane (used by a later dev_start). | |
| cwd | No | Project directory to scope the pane to (isolates its storage partition). | |
| url | No | Optional URL to open (else the project's URL, else a blank pane). | |
| label | No | Display name for the pane (defaults to the project name or cwd basename). | |
| project | No | Name of a saved project to scope this pane to (see project_list). |