Leading theme glyphs such as ⚡ made the POSIX and Powerline idle-prompt
whitelists miss, so terminal_execute waited out the default 30s probe and
returned SHELL_READINESS_UNKNOWN. Strip a 1-4 character decorative prefix
for recognition only; keep the original prompt text for suffix matching.
Related #4354