Improve interface messages
John Smith

John Smith commited on 2021-349 21:28:52
Showing 1 changed files, with 2 additions and 2 deletions.


Trivial improvements to the interface text:
adding a `\n` and `s/cards/prompts/`
... ...
@@ -97,7 +97,7 @@ if action == "a" then
97 97
         cardctr = cardctr + 1
98 98
     end
99 99
     io.write(string.format(
100
-        "Added %d cards (%d prompts)",
100
+        "Added %d cards (%d prompts)\n",
101 101
         cardctr,
102 102
         prctr
103 103
     ))
... ...
@@ -140,7 +140,7 @@ elseif action == "r" then
140 140
     end
141 141
     local endt = os.time()
142 142
     io.write(string.format(
143
-        "Reviewed %d cards in %d seconds\n",
143
+        "Reviewed %d prompts in %d seconds\n",
144 144
         cardcount,
145 145
         endt - start
146 146
     ))
147 147