on master help sign in
XTermColor: remove unhelpful comment
commitdea6fbfa98d6de971591dbb74f2e3ac0fb2f7949 authorJonathan Daugherty <cygnus@foobox.com> dateWed 29 Jul 2020, 11:35 (6 years ago) parent00b0cbc
1 file changed−3
src/Graphics/Vty/Output/XTermColor.hs−3
src/Graphics/Vty/Output/XTermColor.hs−3
@@ -113,9 +113,6 @@ setUtf8CharSet, setDefaultCharSet :: String
113113setUtf8CharSet = "\ESC%G"
114114setDefaultCharSet = "\ESC%@"
115115
116−-- | I think xterm is broken: Reseting the background color as the first
117−-- bytes serialized on a new line does not effect the background color
118−-- xterm uses to clear the line. Which is used *after* the next newline.
119116xtermInlineHack :: Output -> IO ()
120117xtermInlineHack t = do
121118 let writeReset = foldMap (writeWord8.toEnum.fromEnum) "\ESC[K"