diff options
-rw-r--r-- | test5.hs | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -83,7 +83,11 @@ data State = State initState :: String -> IO State initState query = do - r_ <- either error id <$> Notmuch.search [query] + r_ <- either error id <$> Notmuch.search + [ "--offset=0" + , "--limit=100" + , query + ] return State { cursor = Z.fromTree $ fromSearchResults query r_ |