diff options
| author | Raúl Benencia <rul@kalgan.cc> | 2013-08-25 23:11:18 -0300 | 
|---|---|---|
| committer | Raúl Benencia <rul@kalgan.cc> | 2013-08-25 23:11:18 -0300 | 
| commit | 133c0d7cbcc5dcca2214bf532dd47d1ad86a4a17 (patch) | |
| tree | 3473df37b12952a685bdc350c582fc116752e6db /State.hs | |
| parent | 89cd31ce1275bee6c8da8b3d9f4b00155a2e5fd2 (diff) | |
scrolling functionality in Index mode
Diffstat (limited to 'State.hs')
| -rw-r--r-- | State.hs | 6 | 
1 files changed, 6 insertions, 0 deletions
@@ -40,6 +40,9 @@ data IndexState = IndexState {      selectedRowIn   :: Int    , selectedEmail   :: Message    , selectedEmails  :: [(String, [Flag], String)] +  , scrollRowIn     :: Int +  , currentInLen    :: Int +  , scrollBufferIn  :: [(String, [Flag], String)]  }  data ComposeState = ComposeState { @@ -77,6 +80,9 @@ initialIndexState = IndexState {      selectedRowIn  = 0    , selectedEmail  = Message [] "Dummy email"    , selectedEmails = [] +  , scrollRowIn    = 0 +  , currentInLen   = 0 +  , scrollBufferIn = []  }  initialComposeState = ComposeState {  | 
