Dolda2000 GitWeb
/
utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bdd30f1
)
anndl: Print raw names in choice list.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 22 Dec 2019 14:32:32 +0000
(15:32 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 22 Dec 2019 14:32:32 +0000
(15:32 +0100)
anndl
patch
|
blob
|
blame
|
history
diff --git
a/anndl
b/anndl
index
8957d6e
..
9bda279
100755
(executable)
--- a/
anndl
+++ b/
anndl
@@
-13,7
+13,7
@@
def opentty():
def choose(opts):
tty.write("%d matches:\n" % (len(opts)))
for i, anime in enumerate(opts):
def choose(opts):
tty.write("%d matches:\n" % (len(opts)))
for i, anime in enumerate(opts):
- tty.write("%d. %s\n" % (i + 1, anime.name))
+ tty.write("%d. %s\n" % (i + 1, anime.
raw
name))
tty.write("> ")
tty.flush()
resp = tty.readline().strip()
tty.write("> ")
tty.flush()
resp = tty.readline().strip()