From b174c489ebe4393ca70f2025f3af6f5d51ec97ec Mon Sep 17 00:00:00 2001 From: bptato Date: Fri, 8 Sep 2023 12:01:06 +0200 Subject: cell: remove old hack looks like the compiler can now deal with this by itself. --- src/buffer/cell.nim | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/buffer') 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)) -- cgit