mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-14 21:26:45 +08:00
znt: optimize heap usage for older Zsh's (e.g. 5.0.8)
This commit is contained in:
1 parent
89205f90e5
commit
c793baeadd
2 files changed
+14
-3
No files matched your search
@@ -224,7 +224,11 @@ zcurses timeout main -1
|
||||
key=""
|
||||
keypad=""
|
||||
|
||||
list=( "$@" )
|
||||
# This loop makes script faster on some Zsh's (e.g. 5.0.8)
|
||||
repeat 1; do
|
||||
list=( "$@" )
|
||||
done
|
||||
|
||||
last_element="$#list"
|
||||
|
||||
while (( 1 )); do
|
||||
|
||||
Reference in new issue
Block a user