From c4ab2db358180304c013d5f052f9a2eebf6771d5 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 18 Oct 2015 00:38:09 +0200 Subject: It turns out \n before [/center] is ensured by structure already --- thermoprint/src/Thermoprint.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 instance Default (PrinterConf String) where def = PrinterConf - { renderCenter = bracket [97, 1] [97, 0] . (>> enc "\n") + { renderCenter = bracket [97, 1] [97, 0] -- . (>> enc "\n") , renderUnderline = bracket [45, 2] [45, 0] , renderBeside = sequence_ , renderOver = sequence_ -- cgit v1.2.3