(cell1: IBufferCell, cell2: IBufferCell)
| 171 | } |
| 172 | |
| 173 | function equalFlags(cell1: IBufferCell, cell2: IBufferCell): boolean { |
| 174 | return ( |
| 175 | !!cell1.isInverse() === !!cell2.isInverse() && |
| 176 | !!cell1.isBold() === !!cell2.isBold() && |
| 177 | !!cell1.isUnderline() === !!cell2.isUnderline() && |
| 178 | !!cell1.isBlink() === !!cell2.isBlink() && |
| 179 | !!cell1.isInvisible() === !!cell2.isInvisible() && |
| 180 | !!cell1.isItalic() === !!cell2.isItalic() && |
| 181 | !!cell1.isDim() === !!cell2.isDim() && |
| 182 | !!cell1.isStrikethrough() === !!cell2.isStrikethrough() |
| 183 | ) |
| 184 | } |
| 185 | |
| 186 | // ============================================================================ |
| 187 | // Base Serialize Handler |
no test coverage detected