MCPcopy Create free account
hub / github.com/codeaashu/claude-code / NotifChannelLabel

Function NotifChannelLabel

src/components/Settings/Config.tsx:1754–1821  ·  view source on GitHub ↗
(t0)

Source from the content-addressed store, hash-verified

1752 'light-ansi': 'Light mode (ANSI colors only)'
1753};
1754function NotifChannelLabel(t0) {
1755 const $ = _c(4);
1756 const {
1757 value
1758 } = t0;
1759 switch (value) {
1760 case "auto":
1761 {
1762 return "Auto";
1763 }
1764 case "iterm2":
1765 {
1766 let t1;
1767 if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
1768 t1 = <Text>iTerm2 <Text dimColor={true}>(OSC 9)</Text></Text>;
1769 $[0] = t1;
1770 } else {
1771 t1 = $[0];
1772 }
1773 return t1;
1774 }
1775 case "terminal_bell":
1776 {
1777 let t1;
1778 if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
1779 t1 = <Text>Terminal Bell <Text dimColor={true}>(\a)</Text></Text>;
1780 $[1] = t1;
1781 } else {
1782 t1 = $[1];
1783 }
1784 return t1;
1785 }
1786 case "kitty":
1787 {
1788 let t1;
1789 if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
1790 t1 = <Text>Kitty <Text dimColor={true}>(OSC 99)</Text></Text>;
1791 $[2] = t1;
1792 } else {
1793 t1 = $[2];
1794 }
1795 return t1;
1796 }
1797 case "ghostty":
1798 {
1799 let t1;
1800 if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
1801 t1 = <Text>Ghostty <Text dimColor={true}>(OSC 777)</Text></Text>;
1802 $[3] = t1;
1803 } else {
1804 t1 = $[3];
1805 }
1806 return t1;
1807 }
1808 case "iterm2_with_bell":
1809 {
1810 return "iTerm2 w/ Bell";
1811 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected