mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-10-28 04:44:11 -07:00
fix anime selection breaking after 9 entries
This commit is contained in:
parent
65511a2961
commit
69e4ee0c87
2
ani-cli
2
ani-cli
@ -251,7 +251,7 @@ get_search_query() {
|
|||||||
-config "$CFG_DIR/${ROFI_CFG}")
|
-config "$CFG_DIR/${ROFI_CFG}")
|
||||||
|
|
||||||
# Strip the list entry number from string
|
# Strip the list entry number from string
|
||||||
query="${query//[1-9]\. /}"
|
query="${query//[1-9]+\. /}"
|
||||||
[ "$VERBOSE" -eq 1 ] && printf "%s\n" "Query: $query"
|
[ "$VERBOSE" -eq 1 ] && printf "%s\n" "Query: $query"
|
||||||
else
|
else
|
||||||
query=$*
|
query=$*
|
||||||
|
Loading…
Reference in New Issue
Block a user