(value: number, low: number, high: number)
| 159 | // ============================================================================ |
| 160 | |
| 161 | function constrain(value: number, low: number, high: number): number { |
| 162 | return Math.max(low, Math.min(value, high)) |
| 163 | } |
| 164 | |
| 165 | function equalFg(cell1: IBufferCell, cell2: IBufferCell): boolean { |
| 166 | return cell1.getFgColorMode() === cell2.getFgColorMode() && cell1.getFgColor() === cell2.getFgColor() |
no outgoing calls
no test coverage detected