aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-10-18 00:38:09 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-10-18 00:38:09 +0200
commitc4ab2db358180304c013d5f052f9a2eebf6771d5 (patch)
tree889ca8727f68cffc79be2af2a1f446bf49bc90f8
parentc2d711b32917d036e30f7c015f5d5d41b7aef030 (diff)
downloadthermoprint-c4ab2db358180304c013d5f052f9a2eebf6771d5.tar
thermoprint-c4ab2db358180304c013d5f052f9a2eebf6771d5.tar.gz
thermoprint-c4ab2db358180304c013d5f052f9a2eebf6771d5.tar.bz2
thermoprint-c4ab2db358180304c013d5f052f9a2eebf6771d5.tar.xz
thermoprint-c4ab2db358180304c013d5f052f9a2eebf6771d5.zip
It turns out \n before [/center] is ensured by structure already
-rw-r--r--thermoprint/src/Thermoprint.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/thermoprint/src/Thermoprint.hs b/thermoprint/src/Thermoprint.hs
index 3541f81..399d0a4 100644
--- a/thermoprint/src/Thermoprint.hs
+++ b/thermoprint/src/Thermoprint.hs
@@ -66,7 +66,7 @@ data PrinterConf c = PrinterConf
66 66
67instance Default (PrinterConf String) where 67instance Default (PrinterConf String) where
68 def = PrinterConf 68 def = PrinterConf
69 { renderCenter = bracket [97, 1] [97, 0] . (>> enc "\n") 69 { renderCenter = bracket [97, 1] [97, 0] -- . (>> enc "\n")
70 , renderUnderline = bracket [45, 2] [45, 0] 70 , renderUnderline = bracket [45, 2] [45, 0]
71 , renderBeside = sequence_ 71 , renderBeside = sequence_
72 , renderOver = sequence_ 72 , renderOver = sequence_