about summary refs log tree commit diff stats
path: root/src/io/cell.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-02-15 10:38:27 +0100
committerbptato <nincsnevem662@gmail.com>2022-02-15 10:38:27 +0100
commitc2236634bcbde5576949bcad7bd7ca6e9ccf3eb7 (patch)
tree0a9f4809e6d8e64f9e901dae86b2c1e2d2279a3c /src/io/cell.nim
parent5098a7a162a4cd7a33ed724d9266ed850013e155 (diff)
downloadchawan-c2236634bcbde5576949bcad7bd7ca6e9ccf3eb7.tar.gz
Fix format background unicode problems
Diffstat (limited to 'src/io/cell.nim')
-rw-r--r--src/io/cell.nim6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/io/cell.nim b/src/io/cell.nim
index b08d11e6..af142967 100644
--- a/src/io/cell.nim
+++ b/src/io/cell.nim
@@ -146,12 +146,6 @@ proc addFormat*(grid: var FlexibleGrid, y, pos: int, format: Format, computed: C
   if computed == nil or grid[y].formats.len == 0 or grid[y].formats[^1].computed != computed:
     grid[y].formats.add(FormatCell(format: format, node: node, computed: computed, pos: pos))
 
-proc addCell*(grid: var FlexibleGrid, y: int, r: Rune) =
-  grid[y].str &= $r
-
-proc addCell*(grid: var FlexibleGrid, r: Rune) =
-  grid.addCell(grid.len - 1, r)
-
 template inc_check(i: int) =
   inc i
   if i >= buf.len: