summaryrefslogtreecommitdiffstats
path: root/src/Much/Event.hs
blob: 5edb5d2cf992ed55f74b1b811c1b7bb7582993a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module Much.Event where

import Blessings
import Much.State
import Scanner

data Event =
    EFlash (Blessings String) |
    EScan Scan |
    EShutdown |
    EReload |
    EResize Int Int |
    EStateGet (State -> IO ())
  deriving Show