Function
push
(
lines: Array<{ left: number; top: number; text: string; fg: ColorInput; bg?: ColorInput; attrs?: number }>,
left: number,
top: number,
text: string,
fg: ColorInput,
bg?: ColorInput,
attrs?: number,
)
Source from the content-addressed store, hash-verified
| 130 | } |
| 131 | |
| 132 | function push( |
| 133 | lines: Array<{ left: number; top: number; text: string; fg: ColorInput; bg?: ColorInput; attrs?: number }>, |
| 134 | left: number, |
| 135 | top: number, |
| 136 | text: string, |
| 137 | fg: ColorInput, |
| 138 | bg?: ColorInput, |
| 139 | attrs?: number, |
| 140 | ): void { |
| 141 | lines.push({ left, top, text, fg, bg, attrs }) |
| 142 | } |
| 143 | |
| 144 | function draw( |
| 145 | lines: Array<{ left: number; top: number; text: string; fg: ColorInput; bg?: ColorInput; attrs?: number }>, |
Tested by
no test coverage detected