Correctly handle ShowProgress option
John Smith

John Smith commited on 2023-151 10:07:40
Showing 1 changed files, with 1 additions and 1 deletions.


Memoire terminal review will now not display progress
if the ShowProgress option is set, but to `false`.
... ...
@@ -3,7 +3,7 @@
3 3
     configuring that to happen
4 4
 ]]
5 5
 local function showprogress(k, n, conf)
6
-    if conf:get("ShowProgress") then
6
+    if conf:get("ShowProgress") and conf:get("ShowProgress") ~= "false" then
7 7
         io.write(string.format("(%d/%d) ", k, n))
8 8
     end
9 9
 end
10 10