about summary refs log tree commit diff stats
path: root/src/layout/box.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/box.nim')
-rw-r--r--src/layout/box.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/box.nim b/src/layout/box.nim
index 204abc00..4875ffda 100644
--- a/src/layout/box.nim
+++ b/src/layout/box.nim
@@ -3,7 +3,7 @@ import options
 import css/stylednode
 import css/values
 import html/dom
-import io/term
+import io/window
 
 type
   #LayoutUnit* = distinct int32
@@ -22,7 +22,7 @@ type
     neg*: int
 
   Viewport* = ref object
-    term*: TermAttributes
+    window*: WindowAttributes
     root*: BlockBox
 
   BoxBuilder* = ref object of RootObj