Skip to content

Added ANSI code for color reset to messages#5

Open
MikeDacre wants to merge 1 commit intobenmills:masterfrom
MikeDacre:color_reset
Open

Added ANSI code for color reset to messages#5
MikeDacre wants to merge 1 commit intobenmills:masterfrom
MikeDacre:color_reset

Conversation

@MikeDacre
Copy link

Previously, colored messages did not reset the color on printing, this
meant that calling vim-bundle from an update script in a loop would
result in the entire output being green. I added the code \033[0m to the
end of the strings, which prevents this from happening.

Previously:
image

After update:
image

Previously, colored messages did not reset the color on printing, this
meant that calling vim-bundle from an update script in a loop would
result in the entire output being green. I added the code \033[0m to the
end of the strings, which prevents this from happening.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant