about summary refs log tree commit diff stats
path: root/src/render/rendertext.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/rendertext.nim')
-rw-r--r--src/render/rendertext.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/rendertext.nim b/src/render/rendertext.nim
index b5054e7b..15a58c4c 100644
--- a/src/render/rendertext.nim
+++ b/src/render/rendertext.nim
@@ -4,7 +4,7 @@ import io/cell
 import utils/twtstr
 
 proc renderPlainText*(text: string): FlexibleGrid =
-  var format = newFormatting()
+  var format = newFormat()
   template add_format() =
     if af:
       af = false
@@ -38,7 +38,7 @@ proc renderPlainText*(text: string): FlexibleGrid =
     discard result.pop()
 
 proc renderStream*(stream: Stream): FlexibleGrid =
-  var format = newFormatting()
+  var format = newFormat()
   template add_format() =
     if af:
       af = false