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 /Config.hs | |
parent | 89cd31ce1275bee6c8da8b3d9f4b00155a2e5fd2 (diff) |
scrolling functionality in Index mode
Diffstat (limited to 'Config.hs')
-rw-r--r-- | Config.hs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -40,7 +40,6 @@ defaultConfig = LazymailConfig { -- --customConfig = defaultConfig { initialPath = "/home/rul/mail/"} - customConfig = defaultConfig { initialPath = "/home/rul/mail/linti" , maildirDrawHook = indentedShow , filterMaildirsHook = filterSymlinks } @@ -55,7 +54,7 @@ indentedShow bp md = pad = " " numPads = (length $ filter (== '/') str) + (length $ filter (`elem` imapSep) str) imapSep = ['.'] -- IMAP usually separates its directories with dots - in (concat $ replicate (numPads - 1) pad) ++ pad ++ name + in (concat $ replicate (numPads - 1) pad) ++ name filterSymlinks :: [FilePath] -> IO [FilePath] filterSymlinks [] = return [] |