MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / reset

Method reset

packages/pi-tui/src/utils.ts:543–555  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

541 }
542
543 private reset(): void {
544 this.bold = false;
545 this.dim = false;
546 this.italic = false;
547 this.underline = false;
548 this.blink = false;
549 this.inverse = false;
550 this.hidden = false;
551 this.strikethrough = false;
552 this.fgColor = null;
553 this.bgColor = null;
554 // SGR reset does not affect OSC 8 hyperlink state
555 }
556
557 /** Clear all state for reuse. */
558 clear(): void {

Callers 2

processMethod · 0.95
clearMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected