trackit 0.2 → 0.2.1
raw patch · 2 files changed
+2/−3 lines, 2 files
Files
- src/Main.hs +1/−2
- trackit.cabal +1/−1
src/Main.hs view
@@ -10,7 +10,6 @@ import Data.Monoid ((<>)) import Data.Text (Text) import Data.Version (showVersion)-import qualified Data.Text.Lazy as LText import Data.Time.Clock (NominalDiffTime, diffUTCTime, getCurrentTime) import qualified Data.Text as Text import GHC.Generics (Generic)@@ -91,7 +90,7 @@ ansiImage = foldMap mkLine . map parseANSI . Text.lines where mkLine ss =- foldr (<|>) mempty [text a $ LText.fromStrict s | Segment a s <- ss]+ foldr (<|>) mempty [text' a s | Segment a s <- ss] -- | Limit the text to @n@ lines (because large buffers make the app slow) limit :: Int -> Text -> Text
trackit.cabal view
@@ -1,5 +1,5 @@ name: trackit-version: 0.2+version: 0.2.1 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,