urbit/pkg/hs/urbit-termsize/app/Main.hs
2020-11-17 18:27:48 +01:00

13 lines
226 B
Haskell

module Main where
import Prelude
import Urbit.TermSize (liveTermSize)
main :: IO ()
main = do
init <- liveTermSize (putStrLn . ("New Size: " <>) . show)
putStrLn ("Initial Size: " <> show init)
_ <- getLine
pure ()