summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasperVanDerJeugt <>2020-01-21 14:37:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2020-01-21 14:37:00 (GMT)
commitf7c803e50ec2962489090939144546beea73f22c (patch)
treea3702895260cfa421ce16e6ed9cb08d2b4005e80
parent843663f9e31b1dac40b3090f848715b2fd334587 (diff)
version 0.8.4.30.8.4.3
-rw-r--r--CHANGELOG.md12
-rw-r--r--README.md3
-rw-r--r--lib/Patat/Main.hs9
-rw-r--r--lib/Patat/Theme.hs2
-rw-r--r--patat.cabal2
5 files changed, 21 insertions, 7 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8fd3057..00ea0e8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,17 @@
# Changelog
+- 0.8.4.3 (2020-01-21)
+ * Fix Haddock syntax in some comments (contribution by Asad Saeeduddin)
+
+- 0.8.4.2 (2020-01-18)
+ * Add builds for Mac OS
+ * Refactor CircleCI config & Makefile
+
+- 0.8.4.1 (2019-10-29)
+ * Bump CircleCI configuration
+ * Bump release script
+ * Add slide seeking to `--help` output
+
- 0.8.4.0 (2019-10-09)
* Add slide seeking (enter slide number + `enter`)
* Fix turning tty echo off/on during presentation
diff --git a/README.md b/README.md
index ceb7656..6f28bcd 100644
--- a/README.md
+++ b/README.md
@@ -60,8 +60,9 @@ Installation
- Debian: <https://packages.debian.org/unstable/patat>
- Ubuntu: <https://packages.ubuntu.com/bionic/patat>
- openSUSE: <https://build.opensuse.org/package/show/openSUSE:Factory:ARM/patat>
+- Fedora: <https://src.fedoraproject.org/rpms/patat>
-You can also find generic linux binaries here:
+You can also find generic Linux and Mac OS binaries here:
<https://github.com/jaspervdj/patat/releases>.
### From source
diff --git a/lib/Patat/Main.hs b/lib/Patat/Main.hs
index e844ce5..ff36aa0 100644
--- a/lib/Patat/Main.hs
+++ b/lib/Patat/Main.hs
@@ -86,6 +86,7 @@ parserInfo = OA.info (OA.helper <*> parseOptions) $
, "- Go backward 10 slides: k, up"
, "- First slide: 0"
, "- Last slide: G"
+ , "- Jump to slide N: N followed by enter"
, "- Reload file: r"
, "- Quit: q"
]
@@ -177,13 +178,13 @@ main = do
-- on the terminal. Tries to restore the original state of the terminal as much
-- as possible.
interactively
- -- | Reads a command from stdin (or from some other IO). This will be
- -- interrupted by 'killThread' when the application finishes.
:: (IO.Handle -> IO a)
- -- | Application to run.
+ -- ^ Reads a command from stdin (or from some other IO). This will be
+ -- interrupted by 'killThread' when the application finishes.
-> (Chan a -> IO ())
- -- | Returns when application finishes.
+ -- ^ Application to run.
-> IO ()
+ -- ^ Returns when application finishes.
interactively reader app = bracket setup teardown $ \(_, _, _, chan) -> app chan
where
setup = do
diff --git a/lib/Patat/Theme.hs b/lib/Patat/Theme.hs
index 952a521..9df30c2 100644
--- a/lib/Patat/Theme.hs
+++ b/lib/Patat/Theme.hs
@@ -224,7 +224,7 @@ namedSgrs = M.fromList
, name <- maybeToList (sgrToString sgr)
]
where
- -- | It doesn't really matter if we generate "too much" SGRs here since
+ -- It doesn't really matter if we generate "too much" SGRs here since
-- 'sgrToString' will only pick the ones we support.
knownSgrs =
[ Ansi.SetColor l i c
diff --git a/patat.cabal b/patat.cabal
index 4bffa75..b3384de 100644
--- a/patat.cabal
+++ b/patat.cabal
@@ -1,5 +1,5 @@
Name: patat
-Version: 0.8.4.0
+Version: 0.8.4.3
Synopsis: Terminal-based presentations using Pandoc
Description: Terminal-based presentations using Pandoc.
License: GPL-2