diff options
author | Kierán Meinhardt <kieran.meinhardt@gmail.com> | 2020-09-23 17:15:57 +0200 |
---|---|---|
committer | Kierán Meinhardt <kieran.meinhardt@gmail.com> | 2020-09-23 17:15:57 +0200 |
commit | 273350709792bee4386b03adf68beb369c60beb3 (patch) | |
tree | c25c5c2af4b471bbc003df35c76277fb19155bfa | |
parent | 171fb04841a657c8721bd370b2acf177ea57ef9d (diff) |
hlint
-rw-r--r-- | Core.hs | 5 | ||||
-rw-r--r-- | State.hs | 1 |
2 files changed, 2 insertions, 4 deletions
@@ -93,9 +93,8 @@ mainWithStateAndArgs state@State{query = defaultSearch} args = do , "" , "Options:" , " -q <search-term>, --query=<search-term>" - , " Open specific search, defaults to " ++ (show defaultSearch) + , " Open specific search, defaults to " ++ show defaultSearch ] - defaultSearch = "tag:inbox AND NOT tag:killed" s0 = Screen False NoBuffering (BlockBuffering $ Just 4096) [ 1000 -- X & Y on button press and release @@ -144,7 +143,7 @@ uninstallHandlers = winchHandler :: (Event -> IO ()) -> IO () winchHandler putEvent = Term.size >>= \case - Just (Term.Window {Term.width = w, Term.height = h}) -> + Just Term.Window {Term.width = w, Term.height = h} -> putEvent $ EResize w h Nothing -> return () @@ -1,7 +1,6 @@ module State where import Blessings.String (Blessings) -import qualified Data.Map as M import qualified Data.Text as T import Data.Time import qualified Data.Tree.Zipper as Z |