vty 5.19.1 → 5.19.2
raw patch · 3 files changed
+7/−2 lines, 3 files
Files
- CHANGELOG.md +5/−0
- src/Graphics/Vty/Output/Interface.hs +1/−1
- vty.cabal +1/−1
CHANGELOG.md view
@@ -1,3 +1,8 @@+5.19.2+Bug fixes:+ * outputPicture now clamps invalid cursor positions when Cursor is used+ (fixes segfault reported in #140)+ 5.19.1 API changes: * Cursor now provides an Eq instance (thanks Jaro Reinders)
src/Graphics/Vty/Output/Interface.hs view
@@ -194,7 +194,7 @@ writeMoveCursor dc (clampX x) (clampY y) Cursor x y -> let m = cursorOutputMap ops $ picCursor pic- (ox, oy) = charToOutputPos m (x,y)+ (ox, oy) = charToOutputPos m (clampX x, clampY y) in writeShowCursor dc `mappend` writeMoveCursor dc (clampX ox) (clampY oy) )
vty.cabal view
@@ -1,5 +1,5 @@ name: vty-version: 5.19.1+version: 5.19.2 license: BSD3 license-file: LICENSE author: AUTHORS