projects
/
nimcoon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88a5646
)
"all" plays only visible results
author
Joseph Nuthalapati
<njoseph@riseup.net>
Fri, 17 Apr 2020 13:42:39 +0000
(19:12 +0530)
committer
Joseph Nuthalapati
<njoseph@riseup.net>
Fri, 17 Apr 2020 13:43:42 +0000
(19:13 +0530)
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
src/nimcoon.nim
patch
|
blob
|
blame
|
history
diff --git
a/src/nimcoon.nim
b/src/nimcoon.nim
index 56e68674dcc2f40cf518b97597d8ffb4a28f7c3a..0624bad087bd69f6febc0f91b24082cf1445a79f 100644
(file)
--- a/
src/nimcoon.nim
+++ b/
src/nimcoon.nim
@@
-85,7
+85,7
@@
proc main() =
let userInput = getUserInput()
if userInput == "all":
- for number in 0..(l
en(searchResults)):
+ for number in 0..(l
imit-1): # Nim decided to deviate from Python ranges here
# TODO `spawn` this?
handleUserInput(number)