mirror of
https://github.com/erkin/ponysay.git
synced 2025-03-02 23:44:32 +01:00
sorting the symlinks in -L
This commit is contained in:
parent
860919ddd4
commit
d179b3c180
1 changed files with 1 additions and 0 deletions
1
ponysay
1
ponysay
|
@ -326,6 +326,7 @@ class Ponysay():
|
||||||
w = UCS.dispLen(pony)
|
w = UCS.dispLen(pony)
|
||||||
item = '\033[1m' + pony + '\033[21m' if (pony in quoters) else pony
|
item = '\033[1m' + pony + '\033[21m' if (pony in quoters) else pony
|
||||||
syms = ponymap[pony]
|
syms = ponymap[pony]
|
||||||
|
syms.sort()
|
||||||
if len(syms) > 0:
|
if len(syms) > 0:
|
||||||
w += 2 + len(syms)
|
w += 2 + len(syms)
|
||||||
item += ' ('
|
item += ' ('
|
||||||
|
|
Loading…
Add table
Reference in a new issue