packages feed

trackit 0.7.1 → 0.7.2

raw patch · 3 files changed

+7/−3 lines, 3 filesdep ~brickdep ~vty

Dependency ranges changed: brick, vty

Files

src/Main.hs view
@@ -177,7 +177,7 @@ updater :: Options -> BChan TrackitEvent -> IO () updater opts@Options {..} updEv   | incremental = do-      writeBChan updEv Running+      writeBChan updEv Start       ls <- runLazyCMD opts       mapM_ (writeBChan updEv . AddLine) ls       writeBChan updEv Done
src/TUI.hs view
@@ -122,7 +122,8 @@       ]  data TrackitEvent-  = Running             -- ^ An incremental command started running+  = Running             -- ^ A non-incremental command started running+  | Start               -- ^ An incremental command started running   | Done                -- ^ An incremental command is done   | AddLine Text        -- ^ An incremental command produced a line   | UpdateBuffer [Text] -- ^ A non-incremental command finished with the given output@@ -197,6 +198,9 @@   -> AppState   -> AppState stepState _ (AppEvent Running) _ s = s+  { commandRunning = True+  }+stepState _ (AppEvent Start) _ s = s   { commandOutput  = []   , commandRunning = True   , bufferWidth    = 0
trackit.cabal view
@@ -1,5 +1,5 @@ name:                trackit-version:             0.7.1+version:             0.7.2 synopsis:            A command-line tool for live monitoring description:         @trackit@ is a command-line tool that listens for changes                      in a user-supplied directory. Whenever there is a change,