mirror of
https://github.com/jtdaugherty/brick.git
synced 2024-12-03 11:41:06 +03:00
16 lines
303 B
Haskell
16 lines
303 B
Haskell
{-# LANGUAGE OverloadedStrings #-}
|
|
{-# LANGUAGE CPP #-}
|
|
module Main where
|
|
|
|
#if !(MIN_VERSION_base(4,11,0))
|
|
import Data.Monoid ((<>))
|
|
#endif
|
|
import Brick
|
|
import Brick.Widgets.Table
|
|
|
|
ui :: Widget ()
|
|
ui = table [[txt "foo", txt "bar"], [txt "stuff", txt "more things"]]
|
|
|
|
main :: IO ()
|
|
main = simpleMain ui
|