MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / isZedTerminal

Function isZedTerminal

cli/src/utils/theme-system.ts:426–431  ·  view source on GitHub ↗
(
  env: CliEnv = getCliEnv(),
)

Source from the content-addressed store, hash-verified

424}
425
426const isZedTerminal = (
427 env: CliEnv = getCliEnv(),
428): boolean => {
429 const termProgram = env.TERM_PROGRAM?.toLowerCase()
430 return termProgram === 'zed' || false
431}
432
433const detectVSCodeTheme = (
434 env: CliEnv = getCliEnv(),

Callers 2

detectZedThemeFunction · 0.85
setupFileWatchersFunction · 0.85

Calls 1

getCliEnvFunction · 0.90

Tested by

no test coverage detected