fix: добавить exit 0 в конец statusline скрипта
Без него [ -n "$ctx_pct" ] && ... возвращал exit 1 когда ctx пустой, и Claude Code прятал всю строку статуса. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -53,3 +53,4 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
[ -n "$ctx_pct" ] && printf " \033[00;90mctx:$(printf '%.0f' "$ctx_pct")%%\033[00m"
|
[ -n "$ctx_pct" ] && printf " \033[00;90mctx:$(printf '%.0f' "$ctx_pct")%%\033[00m"
|
||||||
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user