MCPcopy Create free account
hub / github.com/anomalyco/opencode / equalFg

Function equalFg

packages/app/src/addons/serialize.ts:165–167  ·  view source on GitHub ↗
(cell1: IBufferCell, cell2: IBufferCell)

Source from the content-addressed store, hash-verified

163}
164
165function equalFg(cell1: IBufferCell, cell2: IBufferCell): boolean {
166 return cell1.getFgColorMode() === cell2.getFgColorMode() && cell1.getFgColor() === cell2.getFgColor()
167}
168
169function equalBg(cell1: IBufferCell, cell2: IBufferCell): boolean {
170 return cell1.getBgColorMode() === cell2.getBgColorMode() && cell1.getBgColor() === cell2.getBgColor()

Callers 1

_diffStyleMethod · 0.85

Calls 2

getFgColorModeMethod · 0.80
getFgColorMethod · 0.80

Tested by

no test coverage detected