MCPcopy Create free account
hub / github.com/continuedev/continue / getModeDisplay

Function getModeDisplay

extensions/cli/src/ui/components/ModeIndicator.tsx:26–35  ·  view source on GitHub ↗
(mode: PermissionMode)

Source from the content-addressed store, hash-verified

24
25 // Get mode display info
26 const getModeDisplay = (mode: PermissionMode) => {
27 switch (mode) {
28 case "plan":
29 return { text: "⏸ plan", color: "blue" };
30 case "auto":
31 return { text: "⏵⏵ auto", color: "green" };
32 default:
33 return { text: mode, color: "dim" };
34 }
35 };
36
37 const { text, color } = getModeDisplay(currentMode);
38

Callers 1

ModeIndicatorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected