mirror of
https://github.com/jtdaugherty/brick.git
synced 2024-12-02 11:05:10 +03:00
14 lines
382 B
Haskell
14 lines
382 B
Haskell
module Main where
|
|
|
|
import Data.Monoid ((<>))
|
|
import Brick
|
|
|
|
ui :: Widget ()
|
|
ui = strWrap $ "Hello, world! This line is long enough that " <>
|
|
"it's likely to wrap on your terminal if your window " <>
|
|
"isn't especially wide. Try narrowing and widening " <>
|
|
"the window to see what happens to this text."
|
|
|
|
main :: IO ()
|
|
main = simpleMain ui
|