refactor(tui): remove unread terminal environment fields (#52991)

This commit is contained in:
Kit Langton
2026-10-03 21:33:08 -07:00
committed by GitHub
Unverified
parent 5d6804eaac
commit 86f9edc107
2 changed files with 0 additions and 8 deletions
-6
View File
@@ -329,12 +329,6 @@ export const run = Effect.fn("Tui.run")(function* (input: TuiInput) {
<TuiTerminalEnvironmentProvider
value={{
platform: process.platform,
multiplexer: process.env.TMUX ? "tmux" : process.env.STY ? "screen" : undefined,
displayServer: process.env.WAYLAND_DISPLAY
? "wayland"
: process.env.DISPLAY
? "x11"
: undefined,
variables: input.environment,
}}
>
-2
View File
@@ -15,8 +15,6 @@ export type TuiPaths = Readonly<{
export type TuiTerminalEnvironment = Readonly<{
platform: string
multiplexer?: "tmux" | "screen"
displayServer?: "wayland" | "x11"
variables?: Readonly<Record<string, string>>
}>