diff options
Diffstat (limited to 'src/Much/Action.hs')
-rw-r--r-- | src/Much/Action.hs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Much/Action.hs b/src/Much/Action.hs index 6613eb1..d76e503 100644 --- a/src/Much/Action.hs +++ b/src/Much/Action.hs @@ -3,15 +3,15 @@ {-# LANGUAGE RecordWildCards #-} module Much.Action where -import Blessings.String +import Blessings.String.WCWidth import Data.Maybe +import Data.Tree.Extra (setSubForest) import Scanner import Much.State import Much.TagUtils import Much.TreeSearch import Much.TreeView import Much.TreeZipperUtils -import qualified Data.Tree as Tree import qualified Data.Tree.Zipper as Z import qualified Notmuch import qualified Notmuch.Message as Notmuch @@ -216,7 +216,3 @@ topOverrun State{..} = botOverrun :: State -> Int botOverrun State{..} = max 0 (linearPos cursor - yoffset - (screenHeight - length headBuffer - 1)) - - -setSubForest :: Tree.Forest a -> Tree.Tree a -> Tree.Tree a -setSubForest sf t = t { Tree.subForest = sf } |