mirror of
https://github.com/ilyakooo0/vty.git
synced 2024-11-29 08:49:40 +03:00
Remove redundant clause from clipForCharWidth
This commit is contained in:
parent
83ceb682f7
commit
25429683cd
@ -46,7 +46,6 @@ clipText txt leftSkip rightClip =
|
||||
| w < cw = (n, w /= 0)
|
||||
| otherwise = clipForCharWidth (w - cw) (TL.tail t) (n + 1)
|
||||
where cw = safeWcwidth (TL.head t)
|
||||
clipForCharWidth _ _ _ = error "clipForCharWidth applied to undefined"
|
||||
in txt''
|
||||
|
||||
-- | This is the internal representation of Images. Use the constructors in "Graphics.Vty.Image" to
|
||||
|
Loading…
Reference in New Issue
Block a user