@techgoblin/gobstack 0.5.0-beta.1 → 0.5.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/goblin-init +7 -2
- package/package.json +1 -1
package/bin/goblin-init
CHANGED
|
@@ -104,7 +104,12 @@ rail_note() {
|
|
|
104
104
|
}
|
|
105
105
|
rail_rewind() {
|
|
106
106
|
if [ "$TTY_OUT" -eq 1 ]; then
|
|
107
|
-
|
|
107
|
+
# The drawn frame is the buffer PLUS the 6 rail rows rail_draw prints under it.
|
|
108
|
+
# Rewinding by the buffer count alone left the 6 rail rows painted on screen, so the
|
|
109
|
+
# next draw stacked a second frame under them — the duplicate-banner the client caught
|
|
110
|
+
# on a Mac (2026-10-06): every screen ≥2 grew the stack by one frame. Rewind the full
|
|
111
|
+
# drawn height. (Clean-room catch, second fixture round.)
|
|
112
|
+
printf '\033[%dA\033[J' "$(( ${#RAIL_BUF[@]} + 6 ))"
|
|
108
113
|
fi
|
|
109
114
|
}
|
|
110
115
|
rail_draw() { # reprint the saved buffer, then the live rail row for $CURRENT
|
|
@@ -241,7 +246,7 @@ if [ "$TTY_OUT" -eq 1 ]; then
|
|
|
241
246
|
while IFS=$'\t' read -r p proj glob hit; do
|
|
242
247
|
[ -n "$p" ] || continue
|
|
243
248
|
case "$glob" in "~"*) glob="${glob/\~/$HOME}" ;; esac
|
|
244
|
-
rail_say " $C_GREEN✔$C_RESET $C_TEXT$p$C_RESET $glob $C_DIM($hit)$C_RESET"
|
|
249
|
+
rail_say " ${C_GREEN}✔$C_RESET $C_TEXT$p$C_RESET $glob $C_DIM($hit)$C_RESET"
|
|
245
250
|
done <<< "$DET_ROWS"
|
|
246
251
|
fi
|
|
247
252
|
else
|
package/package.json
CHANGED