diff options
| author | bptato <nincsnevem662@gmail.com> | 2023-09-08 12:01:06 +0200 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2023-09-08 12:01:06 +0200 |
| commit | b174c489ebe4393ca70f2025f3af6f5d51ec97ec (patch) | |
| tree | 1d5eb0aaec9b2d005ec6f26a3f5f8f08963955d9 /src/buffer | |
| parent | ccacdb2b1d735b0708d006fd6c82df98ea0b96c9 (diff) | |
| download | chawan-b174c489ebe4393ca70f2025f3af6f5d51ec97ec.tar.gz | |
cell: remove old hack
looks like the compiler can now deal with this by itself.
Diffstat (limited to 'src/buffer')
| -rw-r--r-- | src/buffer/cell.nim | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/buffer/cell.nim b/src/buffer/cell.nim index 40d19d1d..73c8ef07 100644 --- a/src/buffer/cell.nim +++ b/src/buffer/cell.nim @@ -91,10 +91,6 @@ template `strike=`*(f: var Format, b: bool) = flag_template f, b, FLAG_STRIKE template `overline=`*(f: var Format, b: bool) = flag_template f, b, FLAG_OVERLINE template `blink=`*(f: var Format, b: bool) = flag_template f, b, FLAG_BLINK -func `==`*(a: FixedCell, b: FixedCell): bool = - return a.format == b.format and - a.str == b.str - func newFixedGrid*(w: int, h: int = 1): FixedGrid = return FixedGrid(width: w, height: h, cells: newSeq[FixedCell](w * h)) |