aboutsummaryrefslogtreecommitdiff
path: root/State.hs
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2013-08-29 23:33:37 -0300
committerRaúl Benencia <rul@kalgan.cc>2013-08-29 23:33:37 -0300
commit96be972c18b9ff389cf713d9cd025fb31bea503f (patch)
treef930c7895778019320c7af890e746cd2ffb807f1 /State.hs
parent6532d2b357160fe6a41ac4ec3aeb1283027d116e (diff)
down-scrolling support in Email mode
Diffstat (limited to 'State.hs')
-rw-r--r--State.hs8
1 files changed, 3 insertions, 5 deletions
diff --git a/State.hs b/State.hs
index b6561ff..d72bc1a 100644
--- a/State.hs
+++ b/State.hs
@@ -53,10 +53,9 @@ data ComposeState = ComposeState {
}
data EmailState = EmailState {
- scrollBufferEm :: [String]
- , scrollRowEm :: Int
+ scrollRowEm :: Int
, emailLines :: [String]
- , currentEmail :: Message
+ , currentEmail :: Message
}
data ColorStyle = ColorStyle {
@@ -100,8 +99,7 @@ initialIndexState = IndexState {
}
initialEmailState = EmailState {
- scrollBufferEm = []
- , scrollRowEm = 0
+ scrollRowEm = 0
, emailLines = []
, currentEmail = Message [] "Dummy email"
}
nihil fit ex nihilo