diff --git a/src/Yi/Frontend/Vty.hs b/src/Yi/Frontend/Vty.hs
--- a/src/Yi/Frontend/Vty.hs
+++ b/src/Yi/Frontend/Vty.hs
@@ -402,5 +402,5 @@
     baseAttr False sty =
         attributesToAttr (appEndo (tabNotFocusedStyle uiStyle) sty) Vty.defAttr
             `Vty.withStyle` Vty.underline
-    padding = Vty.charFill (tabAttr False) ' ' (SL.sizeX r - width) 1
-    width = sum . map ((+2) . T.length . fst) $ ts
+    padding = Vty.charFill (tabAttr False) ' ' (SL.sizeX r - width') 1
+    width' = sum . map ((+2) . T.length . fst) $ ts
diff --git a/yi-frontend-vty.cabal b/yi-frontend-vty.cabal
--- a/yi-frontend-vty.cabal
+++ b/yi-frontend-vty.cabal
@@ -3,7 +3,7 @@
 -- see: https://github.com/sol/hpack
 
 name:           yi-frontend-vty
-version:        0.13.7
+version:        0.14.0
 synopsis:       Vty frontend for Yi editor
 category:       Yi
 homepage:       https://github.com/yi-editor/yi#readme
