diff options
author | Raúl Benencia <rul@kalgan.cc> | 2013-08-29 23:03:58 -0300 |
---|---|---|
committer | Raúl Benencia <rul@kalgan.cc> | 2013-08-29 23:03:58 -0300 |
commit | 6532d2b357160fe6a41ac4ec3aeb1283027d116e (patch) | |
tree | e1d12b8d75b0924f4499cee155164014bd763f27 /State.hs | |
parent | e4cc85a6fbf1eb3dcdc8304404183ea8db0a39ff (diff) |
Filled email state
Diffstat (limited to 'State.hs')
-rw-r--r-- | State.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -41,7 +41,6 @@ data MaildirState = MaildirState { data IndexState = IndexState { selectedRowIn :: Int - , selectedEmail :: Message , selectedEmailPath :: FilePath , selectedEmails :: [(FilePath, String)] , scrollRowIn :: Int @@ -57,6 +56,7 @@ data EmailState = EmailState { scrollBufferEm :: [String] , scrollRowEm :: Int , emailLines :: [String] + , currentEmail :: Message } data ColorStyle = ColorStyle { @@ -92,7 +92,6 @@ initialMaildirState = MaildirState { initialIndexState = IndexState { selectedRowIn = 0 - , selectedEmail = Message [] "Dummy email" , selectedEmailPath = "" , selectedEmails = [] , scrollRowIn = 0 @@ -104,6 +103,7 @@ initialEmailState = EmailState { scrollBufferEm = [] , scrollRowEm = 0 , emailLines = [] + , currentEmail = Message [] "Dummy email" } initialComposeState = ComposeState { |