summaryrefslogtreecommitdiffstats
path: root/test5.hs
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2014-12-30 14:38:33 +0100
committertv <tv@shackspace.de>2014-12-30 14:38:33 +0100
commit424f1589137f994cbf8041f8d11d3aaaed5605a1 (patch)
tree6c9ce092e17adb552e5faee2613fb655dd16b7c4 /test5.hs
parent9c2ee6b0bc7b74031439901283190bf58e8a46ce (diff)
move data Event to separate module
Diffstat (limited to 'test5.hs')
-rw-r--r--test5.hs8
1 files changed, 1 insertions, 7 deletions
diff --git a/test5.hs b/test5.hs
index c7a4468..fa3f4bb 100644
--- a/test5.hs
+++ b/test5.hs
@@ -19,6 +19,7 @@ import Control.Monad
import Data.Maybe
import Data.Monoid
import Data.Time
+import Event
import Scanner (getKey)
import System.Directory
import System.Environment
@@ -35,13 +36,6 @@ import TreeViewRaw
import Utils
-data Event =
- EFlash (Trammel String) |
- EKey String |
- EReload |
- EResize Int Int
- deriving Show
-
data State = State
{ cursor :: Z.TreePos Z.Full TreeView