packages feed

brick-tabular-list-0.2.0.1: exec/MixedTabularList.hs

module Main where

import Internal.MixedTabularList
import Brick.Widgets.TabularList.Mixed

main :: IO ()
main = do
  let msgs = [ "Press Up arrow to go up one item"
             , "Press Down arrow to go down one item"
             , "Press PageUp to go up one page"
             , "Press PageDown to go down one page"
             , "Press Home to go to the beginning"
             , "Press End to go to the end" ]
  runMain msgs handleMixedListEvent