MCPcopy Create free account
hub / github.com/Noumena-Network/code / hasCustomStatusLine

Function hasCustomStatusLine

src/components/StatusLine.tsx:63–66  ·  view source on GitHub ↗
(settings: ReadonlySettings)

Source from the content-addressed store, hash-verified

61}
62
63export function hasCustomStatusLine(settings: ReadonlySettings): boolean {
64 if (!statusLineShouldDisplay(settings)) return false;
65 return settings?.statusLine?.type === 'command';
66}
67
68function hasCommandStatusLine(settings: ReadonlySettings): boolean {
69 return hasCustomStatusLine(settings);

Callers 2

hasCommandStatusLineFunction · 0.85
PromptInputFooterFunction · 0.85

Calls 1

statusLineShouldDisplayFunction · 0.85

Tested by

no test coverage detected