Move the agent instructions from AGENTS.md to CLAUDE.md. AGENTS.md now points to CLAUDE.md. The UI rules move to docs/ui-design.md. The version and release policy moves to the new docs/releases.md. Rewrite the README, the user guides, and the developer references. Check each claim against the code. Remove old version history and repeated warnings. Link to Gitea at git.knottywyvern.com instead of the LAN address. Move the October 13 menu audit to the archive.
3.8 KiB
Terminal guide
RuneStone · User guide · Install a plugin
This guide explains how to use shells, scripts, and workspace tasks with the optional Terminal plugin.
Install and enable the Terminal plugin first. The shells and script runtimes that you use must be installed on your computer.
Open and arrange terminals
| Action | How |
|---|---|
| Show or hide the terminal panel | Ctrl+` or Ctrl+J. Sessions and scrollback stay. |
| New terminal | Ctrl+Shift+` or the + button |
| Split the active terminal | Ctrl+Shift+5. The new pane uses the same folder and profile. |
| New terminal window | Ctrl+Shift+Alt+` |
| End the active session | Kill terminal, or Delete while an entry in the terminal list has focus |
| Change the panel size | Maximize panel or Restore panel. Shells do not restart. |
| End all sessions in the panel | Close terminal (end all sessions) |
The terminal list shows only when more than one session is open. Closing a separate terminal window ends its sessions.
Choose a shell
Open the menu beside the + button to start a terminal with a specific profile.
| System | Profiles |
|---|---|
| Windows | PowerShell, PowerShell 7, Git Bash, and Command Prompt |
| macOS and Linux | Bash and PowerShell |
The menu shows only the shells that RuneStone finds on your computer.
The same menu has Split Terminal with Profile, Select Default Profile, Configure Terminal Settings, and the task commands.
Terminal settings set the font size, scrollback lines, cursor blink, and default profile. RuneStone keeps them on this computer.
New terminals get the RuneStone environment, including PATH.
Copy and paste
- Drag across terminal text to select it.
- Ctrl+C copies the selection. With no selection, Ctrl+C sends an interrupt to the shell.
- Ctrl+Shift+C copies the selection.
- Right-click a selection to copy it.
Run scripts and recent commands
Open More terminal actions for these commands:
| Command | Result |
|---|---|
| Run Active File | Saves and runs the active file in the terminal. |
| Run Selected Text | Sends the text that is selected in the editor to the terminal. |
| Clear Terminal | Clears the scrollback. |
| Run Recent Command… (Ctrl+Alt+R) | Runs a command from this session again. |
| Go to Recent Directory… (Ctrl+G) | Changes to a recent folder. |
| Scroll to Previous Command / Next Command (Ctrl+Up / Ctrl+Down) | Moves between command prompts. |
Run Active File supports Python, JavaScript, PowerShell, Bash, Ruby, Windows batch files, and executables. The terminal keeps command history in memory only. PowerShell and Bash record a command after it finishes. Command Prompt records the text that you submit.
Configure workspace tasks
A task is a named command that you can start from a menu.
- Choose Configure Tasks…. RuneStone creates or opens
.runestone/tasks.json. - Add an object to the
tasksarray withlabelandcommand. - Optionally, add
profilewith one of these IDs:powershell,pwsh,git-bash,cmd, orbash. - Choose Run Task… and select the task.
Example (.runestone/tasks.json):
{
"tasks": [
{ "label": "Run tests", "command": "pnpm test", "profile": "pwsh" }
]
}
Each task runs in its own terminal at the workspace root. Tasks run only when you select them.
Debug JavaScript and use dictation
JavaScript Debug Terminal in the profile menu starts a Node.js REPL with a local inspector on a free port. Attach an external debugger to the address that the terminal shows. RuneStone does not include a debugger.
Start Dictation starts Windows voice typing (Win+H) in the focused terminal. Set up the microphone and voice typing in Windows first. On other systems, use the dictation shortcut of the operating system.