@@ -168,6 +168,10 @@ reserveTerminal termName outFd = do
168 sendCap setDefaultAttr []
168 sendCap setDefaultAttr []
169 maybeSendCap cnorm []
169 maybeSendCap cnorm []
170 , supportsBell = return $ isJust $ ringBellAudio terminfoCaps
170 , supportsBell = return $ isJust $ ringBellAudio terminfoCaps
171+ , supportsItalics = return $ (isJust $ enterItalic (displayAttrCaps terminfoCaps)) &&
172+ (isJust $ exitItalic (displayAttrCaps terminfoCaps))
173+ , supportsStrikethrough = return $ (isJust $ enterStrikethrough (displayAttrCaps terminfoCaps)) &&
174+ (isJust $ exitStrikethrough (displayAttrCaps terminfoCaps))
171 , ringTerminalBell = maybeSendCap ringBellAudio []
175 , ringTerminalBell = maybeSendCap ringBellAudio []
172 , reserveDisplay = do
176 , reserveDisplay = do
173 -- If there is no support for smcup: Clear the screen
177 -- If there is no support for smcup: Clear the screen