You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `TerminalEnvironment` class parses these once and caches the results. See [Terminal Environment](terminal-environment) for details on all supported environment variables and terminal types.
315
322
316
323
### 3. Terminal-Specific Detection
317
324
@@ -346,17 +353,31 @@ Queries the Windows registry for `AppsUseLightTheme`.
346
353
347
354
## Multiplexer Support (tmux/screen)
348
355
349
-
When running inside tmux or GNU Screen, color detection requires special handling:
356
+
When running inside tmux or GNU Screen, color detection requires special handling. The [`TerminalEnvironment`](terminal-environment) class provides centralized multiplexer detection:
Copy file name to clipboardExpand all lines: content/docs/readline/device-attributes.md
+89Lines changed: 89 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -282,6 +282,95 @@ if (da != null) {
282
282
}
283
283
```
284
284
285
+
## Synergy with Terminal Environment
286
+
287
+
The `DeviceAttributes` class provides synergy methods that work with [`TerminalEnvironment`](terminal-environment) and `Device.TerminalType` for comprehensive terminal detection:
0 commit comments