Skip to content

Commit c83fa17

Browse files
authored
Right-click context menu, allowHeadless docs (#677)
* right-click context menu docs * allowHeadless too while I'm here
1 parent fd82ca8 commit c83fa17

2 files changed

Lines changed: 38 additions & 1 deletion

File tree

‎TerminalDocs/customize-settings/profile-advanced.md‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,27 @@ Enables use of the experimental text rendering engine for the profile. This is a
197197

198198
___
199199

200+
## Right click context menu ([Preview](https://aka.ms/terminal-preview))
201+
202+
When enabled, right-click will open a context menu with options to copy, paste, and more. When disabled, right-click will paste the contents of the clipboard into the terminal.
203+
With [shell integration enabled](../tutorials/shell-integration.md), right-click will also allow you to select the current command or output.
204+
This is an experimental feature, and its continued existence is not guaranteed.
205+
206+
**Property name:** `experimental.rightClickContextMenu`
207+
208+
**Necessity:** Optional
209+
210+
**Accepts:** `true`, `false`
211+
212+
**Default value:** `false`
213+
214+
> [!IMPORTANT]
215+
> This feature is only available in [Windows Terminal Preview](https://aka.ms/terminal-preview).
216+
217+
<br />
218+
219+
___
220+
200221
## VT passthrough mode
201222

202223
When set to true, directs the PTY for this connection to use pass-through mode instead of the original Conhost PTY simulation engine. This is an experimental feature, and its continued existence is not guaranteed.

‎TerminalDocs/customize-settings/startup.md‎

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ ___
6868

6969
When set to `"defaultProfile"`, Windows Terminal will start a new session by opening a single tab with your default profile.
7070

71-
When set to `"persistedWindowLayout"`, this enables Windows Terminal to save the layout of open windows on close and restore all saved windows on starting a new session. Windows Terminal will save the layout of all open windows automatically to assist with restoration from crashes and will also save the layout when using the `quit` action. Additionally, closing the last open window by clicking the `X` button or using the `closeWindow` command will save the layout of that last window.
71+
When set to `"persistedWindowLayout"`, this enables Windows Terminal to save the layout of open windows on close and restore all saved windows on starting a new session. Windows Terminal will save the layout of all open windows automatically to assist with restoration from crashes and will also save the layout when using the `quit` action. Additionally, closing the last open window by clicking the `X` button or using the `closeWindow` command will save the layout of that last window.
7272

7373
Note: Currently, Windows Terminal will save the following information:
7474

@@ -223,3 +223,19 @@ This sets the list of actions to execute on startup, allowing the terminal to la
223223
**Accepts:** String representing a list of commands to run
224224

225225
**Default value:** `""`
226+
227+
<br />
228+
229+
___
230+
231+
## Continue running in the background ([Preview](https://aka.ms/terminal-preview))
232+
233+
When set to `true`, this enables the terminal to continue running in the background after the last window is closed. This allows [`globalSummon`](./actions.md#global-summon) and [quake mode](../tips-and-tricks.md#quake-mode) to work even when no windows are open. This setting is only available in [Preview](https://aka.ms/terminal-preview) builds of the Terminal.
234+
235+
**Property name:** `compatibility.allowHeadless`
236+
237+
**Necessity:** Optional
238+
239+
**Accepts:** `true`, `false`
240+
241+
**Default value:** `false`

0 commit comments

Comments
 (0)