gotta-go-fast 0.1.3.0 → 0.1.3.1
raw patch · 3 files changed
+3/−2 lines, 3 files
Files
- gotta-go-fast.cabal +1/−1
- src/FormatCode.hs +1/−0
- src/Main.hs +1/−1
gotta-go-fast.cabal view
@@ -1,5 +1,5 @@ name: gotta-go-fast-version: 0.1.3.0+version: 0.1.3.1 synopsis: A command line utility for practicing typing description: A command line utility for practicing typing and measuring your WPM and accuracy. See the project <https://github.com/hot-leaf-juice/gotta-go-fast/blob/master/README.md README> for details.
src/FormatCode.hs view
@@ -43,5 +43,6 @@ | otherwise = (acc ++ l ++ "\n", getIndent l ++ w, " ", "") greedy (acc, l, s, w) c | length (getIndent l ++ w) < n = (acc, l, s, w ++ [c])+ | l == "" = (acc ++ getIndent l ++ w ++ "\n", getIndent l, "", [c]) | otherwise = (acc ++ l ++ "\n" ++ getIndent l ++ w ++ "\n", getIndent l, "", [c])
src/Main.hs view
@@ -35,7 +35,7 @@ help "The ISO colour code for errors (default: 1)" , files = def &= args &= typ "FILES" }- &= summary "Gotta Go Fast 0.1.3.0"+ &= summary "Gotta Go Fast 0.1.3.1" &= help "Practice typing and measure your WPM and accuracy" &= program "gotta-go-fast"