diff options
author | Raúl Benencia <rul@kalgan.cc> | 2013-08-20 20:55:17 -0300 |
---|---|---|
committer | Raúl Benencia <rul@kalgan.cc> | 2013-08-20 20:55:17 -0300 |
commit | 0e6e62f317fc8a509eb127744620c6cb8e32f915 (patch) | |
tree | 94e05292603b88128d7b7cfd2533f020fcc7b9ba | |
parent | 8ac28e93b9c29cb0ce78ca423c21a3f887f23aa5 (diff) |
Added a couple of TODOs
-rw-r--r-- | Screen.hs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -58,6 +58,7 @@ screenLoop st = do else return () -- | Handle an event +-- TODO: Handle the events in a cleaner way. handleEvent :: MState -> Curses MState handleEvent st = loop where loop = do @@ -109,6 +110,7 @@ drawIndexHelper origRow origColumn rows columns ((fp, _, msg):ts) = do else return () -- | Helper function of drawMode +-- TODO: Make helpers functions to draw header and body in a separate way. drawEmailHelper st = do let fs = getFields $ selectedEmail st let cropWith xs = normalizeLen $ (fromIntegral . scrColumns $ st) - (length xs) @@ -139,7 +141,6 @@ clearMain rows columns = do then drawEmptyLine $ currentRow + 1 else return () - -- | Convert a String to multiple Strings, cropped by the maximum column -- size if necessary. formatBody :: String -> Int -> [String] |