MCPcopy Index your code
hub / github.com/codeaashu/claude-code / defaultStyle

Function defaultStyle

src/ink/termio/types.ts:68–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66
67/** Create a default (reset) text style */
68export function defaultStyle(): TextStyle {
69 return {
70 bold: false,
71 dim: false,
72 italic: false,
73 underline: 'none',
74 blink: false,
75 inverse: false,
76 hidden: false,
77 strikethrough: false,
78 overline: false,
79 fg: { type: 'default' },
80 bg: { type: 'default' },
81 underlineColor: { type: 'default' },
82 }
83}
84
85/** Check if two styles are equal */
86export function stylesEqual(a: TextStyle, b: TextStyle): boolean {

Callers 3

applySGRFunction · 0.70
ParserClass · 0.70
resetMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected