about summary refs log tree commit diff stats
path: root/src/io/cell.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-07-31 15:44:54 +0200
committerbptato <nincsnevem662@gmail.com>2022-08-01 18:21:54 +0200
commit8f7eb1f7d0ec0cac610c5dcc73188fdbe1577def (patch)
tree937f23221209b443e8827af610a4d91e943f6b0f /src/io/cell.nim
parentb1c8e5edc277c84962955f1edbd8237adb2f5bc8 (diff)
downloadchawan-8f7eb1f7d0ec0cac610c5dcc73188fdbe1577def.tar.gz
Make marks a property of buffer
So that re-rendering the buffer doesn't destroy all marks.
Diffstat (limited to 'src/io/cell.nim')
-rw-r--r--src/io/cell.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/cell.nim b/src/io/cell.nim
index 80ada720..d8f3d23b 100644
--- a/src/io/cell.nim
+++ b/src/io/cell.nim
@@ -35,10 +35,10 @@ type
   FlexibleLine* = object
     str*: string
     formats*: seq[FormatCell]
-    marks*: seq[Mark]
 
   Mark* = ref object
     x*: int
+    y*: int
     width*: int
     format*: Format