@@ -6,7 +6,7 @@ import System.Environment (getArgs, getProgName)
66import System.Exit (exitFailure)
77import System.Console.GetOpt
88
9−import Graphics.Vty.Config (terminalWidthTablePath)
9+import Graphics.Vty.Config (terminalWidthTablePath, currentTerminalName)
1010import Graphics.Vty.UnicodeWidthTable.IO
1111import Graphics.Vty.UnicodeWidthTable.Query
1212
@@ -77,3 +77,11 @@ main = do
7777 builtTable <- buildUnicodeWidthTable
7878 writeUnicodeWidthTable outputPath builtTable
7979 putStrLn $ "\nOutput table written to " <> outputPath
80+
81+ Just tName <- currentTerminalName
82+ putStrLn ""
83+ putStrLn "To configure your Vty-based applications to use this map, add"
84+ putStrLn "the following line to ~/.vty/config:"
85+ putStrLn ""
86+ putStrLn $ " widthMap " <> show tName <> " " <> show outputPath
87+ putStrLn ""