Compare commits
1 Commits
5dbdae0203
...
zcurses/bu
| Author | SHA1 | Date | |
|---|---|---|---|
| 3194afc80d |
@@ -54,7 +54,7 @@ EOF
|
|||||||
local -a build_dirs
|
local -a build_dirs
|
||||||
for entry in `ls -A`; do
|
for entry in `ls -A`; do
|
||||||
[ -d $entry ] && [[ $entry =~ build* ]] && \
|
[ -d $entry ] && [[ $entry =~ build* ]] && \
|
||||||
build_dirs+=$entry
|
build_dirs+=${entry/\//}
|
||||||
done
|
done
|
||||||
|
|
||||||
# Interactively select a build directory if more than 1 found
|
# Interactively select a build directory if more than 1 found
|
||||||
@@ -74,7 +74,7 @@ EOF
|
|||||||
|
|
||||||
# Hide the cursor for zcurses, trap SIGINT to ensure cleanup in
|
# Hide the cursor for zcurses, trap SIGINT to ensure cleanup in
|
||||||
# always-list occurs below
|
# always-list occurs below
|
||||||
tput civis; trap 'exit 130' INT
|
tput civis; trap 'return 130' INT
|
||||||
|
|
||||||
# Enter display loop
|
# Enter display loop
|
||||||
local key keypad
|
local key keypad
|
||||||
|
|||||||
Reference in New Issue
Block a user