aboutsummaryrefslogtreecommitdiff
path: root/State.hs
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2013-09-01 11:16:38 -0300
committerRaúl Benencia <rul@kalgan.cc>2013-09-01 11:16:38 -0300
commit39f53d2775f38514a537f03c7b72281ec31a3c0e (patch)
tree42fd07aa22b7ac986b36298b78fe1c9e85ede115 /State.hs
parent58836f3c2020c634a2a508846140d163572fd5c0 (diff)
Further improving on body scrolling
Diffstat (limited to 'State.hs')
-rw-r--r--State.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/State.hs b/State.hs
index d72bc1a..d04871f 100644
--- a/State.hs
+++ b/State.hs
@@ -54,6 +54,7 @@ data ComposeState = ComposeState {
data EmailState = EmailState {
scrollRowEm :: Int
+ , bodyStartRow :: Int
, emailLines :: [String]
, currentEmail :: Message
}
@@ -100,6 +101,7 @@ initialIndexState = IndexState {
initialEmailState = EmailState {
scrollRowEm = 0
+ , bodyStartRow = 0
, emailLines = []
, currentEmail = Message [] "Dummy email"
}
nihil fit ex nihilo