This commit is contained in:
Marc Beninca 2024-08-26 14:34:01 +02:00
parent 95a1c81f39
commit 04a6a0c15e
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -201,7 +201,7 @@ _SPCD_RULE_RIGHT="╴"
_SPCD_STEP_LEVEL=1
spcd_step_wipe() {
_spcd_step_wipe() {
unset \
"SPCD_STEP_${_SPCD_STEP_LEVEL}_INDEX" \
"SPCD_STEP_${_SPCD_STEP_LEVEL}_LABEL"
@ -382,11 +382,11 @@ spcd_step() {
spcd_step_in() {
[ -n "${1}" ] && spcd_step "${1}"
_SPCD_STEP_LEVEL=$((_SPCD_STEP_LEVEL + 1))
spcd_step_wipe
_spcd_step_wipe
}
spcd_step_out() {
spcd_step_wipe
_spcd_step_wipe
_SPCD_STEP_LEVEL=$((_SPCD_STEP_LEVEL - 1))
}