diff options
-rw-r--r-- | MBox.hs | 2 | ||||
-rw-r--r-- | test5.hs | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -58,6 +58,7 @@ toForest mbox = msgs = unpackMBox mbox +-- TODO finde a new home for roots roots :: Ord a => Map a (Set a) -> Set a roots refs = Set.unions $ Map.elems $ Map.filter p refs @@ -66,6 +67,7 @@ roots refs = p = Set.null . Set.intersection messageIDs +-- TODO finde a new home for sortTree sortTree :: Tree Message -> Tree Message sortTree t = Tree.Node (Tree.rootLabel t) $ @@ -309,9 +309,11 @@ keymap "\ESCq" = \q@State{..} -> Right result -> return q { cursor = Z.fromTree $ fromSearchResults (parse s') result } +-- <F1> keymap "\ESC[11~" = \q@State{..} -> return q { flashMessage = Plain $ show $ treeViewId $ Z.label cursor } +-- <F2> keymap "\ESC[12~" = \q@State{..} -> return q { flashMessage = Plain $ |