vty 5.17 → 5.17.1
raw patch · 3 files changed
+6/−1 lines, 3 files
Files
- CHANGELOG.md +4/−0
- src/Graphics/Vty/Attributes.hs +1/−0
- vty.cabal +1/−1
CHANGELOG.md view
@@ -1,3 +1,7 @@+5.17.1+ - withStyle now ignores zero arguments, leaving attribute styles+ untouched if the input style is the null style+ 5.17 API changes: - Add support for terminal focus events. This change adds a new mode
src/Graphics/Vty/Attributes.hs view
@@ -200,6 +200,7 @@ -- | Add the given style attribute withStyle :: Attr -> Style -> Attr+withStyle attr 0 = attr withStyle attr styleFlag = attr { attrStyle = SetTo $ styleMask attr .|. styleFlag } -- | Sets the style, background color and foreground color to the
vty.cabal view
@@ -1,5 +1,5 @@ name: vty-version: 5.17+version: 5.17.1 license: BSD3 license-file: LICENSE author: AUTHORS