terminal-size Get terminal window width and height Usage >>> import System.Console.Terminal.Size >>> size Just (Window {height = 60, width = 112})