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

Function equalBg

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

Source from the content-addressed store, hash-verified

167}
168
169function equalBg(cell1: IBufferCell, cell2: IBufferCell): boolean {
170 return cell1.getBgColorMode() === cell2.getBgColorMode() && cell1.getBgColor() === cell2.getBgColor()
171}
172
173function equalFlags(cell1: IBufferCell, cell2: IBufferCell): boolean {
174 return (

Callers 1

_diffStyleMethod · 0.85

Calls 2

getBgColorModeMethod · 0.80
getBgColorMethod · 0.80

Tested by

no test coverage detected