Overview
Workspaces in Netcatty allow you to organize multiple terminal sessions in split-pane layouts. You can create complex arrangements, save them for later, and restore entire session states with a single click.Understanding Workspaces
A workspace is a container for one or more terminal sessions arranged in a flexible layout.Workspace Structure
Workspace Nodes
Workspaces are built from two types of nodes:- Pane Node
- Split Node
A leaf node containing a single terminal session.
Creating Workspaces
From Existing Sessions
Combine two or more terminal tabs into a workspace. UI Workflow:- Open multiple terminal sessions as separate tabs
- Right-click on a tab
- Select Create Workspace from Tabs
- Choose which tabs to include
- Select initial layout (horizontal or vertical)
- Click Create
From Snippet Runner
Run a snippet across multiple hosts simultaneously. UI Workflow:- Navigate to Snippets
- Select a snippet
- Click Run on Multiple Hosts
- Select target hosts
- Click Run
- One pane per host
- Side-by-side layout
- Snippet execution in each pane
View Modes
Split View (Default)
Tiled layout with all sessions visible simultaneously.Display all panes in a split layout
- Monitoring multiple servers
- Running parallel commands
- Comparing output across hosts
Focus View
List of sessions on the left, single focused terminal on the right.List view with one terminal in focus
- Many sessions (5+)
- Switching between servers frequently
- Limited screen space
- Grid icon = Split view
- List icon = Focus view
Layout Management
Splitting Panes
Divide a pane into two sections. Horizontal Split (top/bottom):- Right-click in terminal → Split Horizontal
- Keyboard:
Cmd+D(Mac) /Ctrl+Shift+D(Windows/Linux)
- Right-click in terminal → Split Vertical
- Keyboard:
Cmd+Shift+D(Mac) /Ctrl+Shift+E(Windows/Linux)
Resizing Panes
Mouse:- Hover over the divider between panes
- Cursor changes to resize icon
- Click and drag to adjust size
Closing Panes
Close individual panes without destroying the workspace. Methods:- Click × on pane’s tab
- Keyboard:
Cmd+W(Mac) /Ctrl+W(Windows/Linux) - Right-click → Close Pane
- When closing a pane from a split, the sibling pane expands to fill the space
- When closing the last pane, the workspace tab closes
Navigating Workspaces
Focus Management
Move keyboard focus between panes.ID of the currently focused session
| Action | Mac | Windows/Linux |
|---|---|---|
| Move focus up | Cmd+Opt+↑ | Ctrl+Alt+↑ |
| Move focus down | Cmd+Opt+↓ | Ctrl+Alt+↓ |
| Move focus left | Cmd+Opt+← | Ctrl+Alt+← |
| Move focus right | Cmd+Opt+→ | Ctrl+Alt+→ |
- Determines pane positions based on layout tree
- Finds panes in the requested direction
- Selects the closest pane by center point
- Wraparound: If no pane exists in direction, wraps to opposite edge
Mouse Navigation
Click anywhere in a pane to focus it.Saving Workspaces
Workspaces are automatically saved when you:- Create a split
- Resize panes
- Close a pane
- Change view mode
- Workspace layout is stored in Netcatty’s database
- Session states are not stored (terminal content is ephemeral)
- Connection details are preserved via host references
Restoring Workspaces
Reopen a saved workspace to recreate the layout and reconnect to hosts.From Recent Workspaces
- Click Workspaces in the sidebar
- View list of saved workspaces
- Click on a workspace to restore
- Recreate the split layout
- Reconnect to each host
- Restore pane sizes
- Apply the saved view mode
From Snippets
If a workspace was created from a snippet:- Navigate to Snippets
- Click on the snippet
- Select Restore Workspace
- Netcatty reloads the workspace and re-runs the snippet
Session State
Terminal Sessions
Session Lifecycle
Advanced Workspace Features
Broadcast Mode
Send input to all panes in a workspace simultaneously. Activation:- Click Broadcast icon in workspace toolbar
- Keyboard:
Cmd+B(Mac) /Ctrl+B(Windows/Linux)
- Run same command across multiple servers
- Parallel software updates
- Synchronized configuration changes
Nested Layouts
Create complex layouts by nesting splits. Example:Dynamic Pane Addition
Add new panes to an existing workspace. Methods:- Split an existing pane (creates sibling)
- Drag a tab into the workspace
- Right-click workspace → Add Pane → Select host
Workspace Examples
Example 1: Three-Server Monitoring
Example 2: Development Workspace
Best Practices
Workspace Organization
Workspace Organization
- Group related servers (e.g., all web servers, all databases)
- Use descriptive workspace names
- Create workspace templates for common scenarios
Layout Design
Layout Design
- Keep layouts simple (2-4 panes for most tasks)
- Use horizontal splits for wide terminals (code/logs)
- Use vertical splits for narrow terminals (monitoring)
Performance
Performance
- Limit active workspaces to 1-2 at a time
- Close disconnected sessions
- Use focus view for 5+ panes
Broadcast Mode
Broadcast Mode
- Test commands on a single pane first
- Use with read-only operations when possible
- Disable broadcast after use to prevent accidents
Troubleshooting
Workspace Not Saving
Workspace Not Saving
Solution:
- Check Netcatty’s data directory permissions
- Verify disk space is available
- Restart Netcatty to flush database
Session Won't Reconnect on Restore
Session Won't Reconnect on Restore
Possible Causes:
- Host configuration was deleted
- Authentication credentials changed
- Network connectivity issues
- Verify host still exists in Hosts page
- Check authentication settings
- Try connecting to host directly first
Pane Sizes Not Preserved
Pane Sizes Not Preserved
Solution:
- Ensure you wait for auto-save after resizing
- Manually close and reopen workspace to test
- Check browser console for errors
Related Resources
Split Terminals
Keyboard shortcuts and pane management
Snippets
Run commands across multiple hosts
Keyboard Shortcuts
Master workspace navigation shortcuts
