@@ -139,8 +139,8 @@ instance Monoid Config where
139139 , vtime = vtime c1 <|> vtime c0
140140 , debugLog = debugLog c1 <|> debugLog c0
141141 , inputMap = inputMap c0 <> inputMap c1
142− , inputFd = inputFd c1 <|> inputFd c1
143− , outputFd = outputFd c1 <|> outputFd c1
142+ , inputFd = inputFd c1 <|> inputFd c0
143+ , outputFd = outputFd c1 <|> outputFd c0
144144 , termName = termName c1 <|> termName c0
145145 }
146146
@@ -151,8 +151,8 @@ userConfig :: IO Config
151151userConfig = do
152152 configFile <- (mappend <$> getAppUserDataDirectory "vty" <*> pure "/config") >>= parseConfigFile
153153 overrideConfig <- maybe (return def) parseConfigFile =<< getEnv "VTY_CONFIG_FILE"
154− base <- (<> configFile <> overrideConfig) <$> standardIOConfig
155− (mappend base) <$> overrideEnvConfig
154+ let base = configFile <> overrideConfig
155+ mappend base <$> overrideEnvConfig
156156
157157overrideEnvConfig :: IO Config
158158overrideEnvConfig = do