Skip to content

feat: Introduce configuration to disable reset of colors

Merge rerquest Checklist

Summary

Introduces the option to disable the colors resetting at the end of prompt output. This helps in cases where the prompt has background colors configured and prints a space after the output without setting the colors for that space. This happens for example in tide rainbow. The following image shows the prompt using starship-jj v0.4.1, followed by the prompt with this change (contains also empty quotes from !21 (merged)):

starship-jj-reset-color

This does not change default behavior and only applies if the configuration option is actively enabled.

Also added sample configuration and explanation.

Merge request reports

Loading