Make Terminal a native feature
- Move the Terminal plugin into src/lib/features/terminal/ on the host Svelte runtime, with xterm 6.0.0 and addon-fit 0.11.0. - Buttons, shortcuts, Help rows, and the close guard follow the Terminal switch. The first use loads the module. - Add Settings → Terminal and the terminal settings section. The first start copies the old runestone.terminal key. - The 16 ANSI colors come from the --rs-ansi-* tokens. - Off asks first when a shell runs in any window (pty_running). - Rust: no pty-data or pty-exit events, an owner check for write, resize, and close, output joined up to 64 KiB or 8 ms, and the sessions of a reloaded page close. - Remove api.pty, the terminal contribution, TerminalSlot, and the plugin loader of the smoke harness. - Check only the tested switches in the Background smoke test. - Update the tests, the menu inventory, the docs, and UI-058.
This commit is contained in:
+4
-4
@@ -2,15 +2,15 @@
|
||||
|
||||
[RuneStone](../README.md) · [User guide](user-guide.md)
|
||||
|
||||
This guide explains how to install, enable, update, and remove optional plugins such as Terminal, PDF Viewer, and CSV Viewer.
|
||||
This guide explains how to install, enable, update, and remove optional plugins such as Project Management, PDF Viewer, and CSV Viewer.
|
||||
|
||||
Manage all plugins in **Settings → Plug-ins**. The built-in browser, table formulas, and Git are part of RuneStone and are not plugins. To turn Git off, see [Turn features on or off](user-guide.md#turn-features-on-or-off).
|
||||
Manage all plugins in **Settings → Plug-ins**. The built-in browser, table formulas, Git, Background, and Terminal are part of RuneStone and are not plugins. To turn Git, Background, or Terminal off, see [Turn features on or off](user-guide.md#turn-features-on-or-off).
|
||||
|
||||
Plugins run with the full access of RuneStone, including your files. There is no permission sandbox, and the author field does not prove who published the plugin. Enable only code that you trust.
|
||||
|
||||
## Install a plugin
|
||||
|
||||
Get the release ZIP of the plugin, such as `runestone.terminal-<version>.zip`. Do not extract it.
|
||||
Get the release ZIP of the plugin, such as `runestone.csv-viewer-<version>.zip`. Do not extract it.
|
||||
|
||||
1. Open **Settings → Plug-ins**.
|
||||
2. Choose **Install plugin ZIP**.
|
||||
@@ -75,7 +75,6 @@ RuneStone uses the token for this request only and does not save it.
|
||||
|
||||
| Plugin | Guide |
|
||||
| --- | --- |
|
||||
| Terminal | [Terminal guide](guides/terminal.md) |
|
||||
| Project Management | [Project Management guide](https://git.knottywyvern.com/kwyvern/RuneStone_PM/src/branch/main/project-management.md) |
|
||||
| Local Autocomplete | [Local Autocomplete trial guide](https://git.knottywyvern.com/kwyvern/RuneStone_LocalModel/src/branch/main/docs/trial-guide.md) |
|
||||
| PDF Viewer | [PDF Viewer README](https://git.knottywyvern.com/kwyvern/RuneStone_PDFViewer/src/branch/master/README.md) |
|
||||
@@ -95,6 +94,7 @@ RuneStone uses the token for this request only and does not save it.
|
||||
| An old Browser plugin shows in the list | Uninstall it. The built-in browser keeps your profiles and bookmarks. |
|
||||
| An old Git plugin shows in the list | Uninstall it. RuneStone includes Git, and the first start after the update kept the plugin state. See [Turn features on or off](user-guide.md#turn-features-on-or-off). |
|
||||
| An old Background Slideshow plugin shows in the list | Uninstall it. RuneStone includes Background, and the first start after the update took the folder and the settings of the plugin. See [Show a background](guides/themes.md#show-a-background). |
|
||||
| An old Terminal plugin shows in the list | RuneStone includes Terminal. The plugin stays inactive and shows **Included with RuneStone**. Uninstall it. The first start after the update kept the plugin state and its terminal settings. See the [Terminal guide](guides/terminal.md). |
|
||||
| An old Table Formulas plugin shows in the list | Uninstall it. RuneStone does not run it. Your formulas stay in your files. See [Calculate with table formulas](guides/document-tools.md#calculate-with-table-formulas). |
|
||||
|
||||
To see the installed files of a plugin, choose **Show files** beside it. **Open plugins folder** opens the folder for all plugins.
|
||||
|
||||
Reference in New Issue
Block a user