on master help sign in
Whitespace
commit11e0f2b0a2e5b7172ebf7547d175621c51a9fa8b authorJonathan Daugherty <cygnus@foobox.com> dateTue 3 Mar 2020, 09:12 (7 years ago) parentc4ab1e9
1 file changed+14−14
src/Graphics/Vty/Config.hs+14−14
src/Graphics/Vty/Config.hs+14−14
@@ -156,21 +156,21 @@ defaultConfig :: Config
156156defaultConfig = mempty
157157
158158instance Semigroup Config where
159− c0 <> c1 = Config
159+ c0 <> c1 =
160160 -- latter config takes priority for everything but inputMap
161− { vmin = vmin c1 <|> vmin c0
162− , vtime = vtime c1 <|> vtime c0
163− , mouseMode = mouseMode c1
164− , bracketedPasteMode = bracketedPasteMode c1
165− , debugLog = debugLog c1 <|> debugLog c0
166− , inputMap = inputMap c0 <> inputMap c1
167− , inputFd = inputFd c1 <|> inputFd c0
168− , outputFd = outputFd c1 <|> outputFd c0
169− , termName = termName c1 <|> termName c0
170− , termWidthMaps = termWidthMaps c1 <|> termWidthMaps c0
171− , allowCustomUnicodeWithTables =
172− allowCustomUnicodeWithTables c0 || allowCustomUnicodeWithTables c1
173− }
161+ Config { vmin = vmin c1 <|> vmin c0
162+ , vtime = vtime c1 <|> vtime c0
163+ , mouseMode = mouseMode c1
164+ , bracketedPasteMode = bracketedPasteMode c1
165+ , debugLog = debugLog c1 <|> debugLog c0
166+ , inputMap = inputMap c0 <> inputMap c1
167+ , inputFd = inputFd c1 <|> inputFd c0
168+ , outputFd = outputFd c1 <|> outputFd c0
169+ , termName = termName c1 <|> termName c0
170+ , termWidthMaps = termWidthMaps c1 <|> termWidthMaps c0
171+ , allowCustomUnicodeWithTables =
172+ allowCustomUnicodeWithTables c0 || allowCustomUnicodeWithTables c1
173+ }
174174
175175instance Monoid Config where
176176 mempty =