aboutsummaryrefslogtreecommitdiff
path: root/Screen.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 /Screen.hs
parent58836f3c2020c634a2a508846140d163572fd5c0 (diff)
Further improving on body scrolling
Diffstat (limited to 'Screen.hs')
-rw-r--r--Screen.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Screen.hs b/Screen.hs
index 4e16b22..eaa87cf 100644
--- a/Screen.hs
+++ b/Screen.hs
@@ -136,6 +136,7 @@ drawEmailHelper = do
st <- get
let est = emailState st
+ put $ st { emailState = est { bodyStartRow = (currentRow st ) } }
let body = getBody $ currentEmail . emailState $ st
let maxRows = if statusBar st then (scrRowsAsInteger st) - 1 else scrRowsAsInteger st
liftUpdate $
nihil fit ex nihilo