Skip to content

picolibc: Reset color in error message if picolibc is not available#16713

Merged
benpicco merged 1 commit intoRIOT-OS:masterfrom
nmeum:pr/picolib_error_color_reset
Aug 5, 2021
Merged

picolibc: Reset color in error message if picolibc is not available#16713
benpicco merged 1 commit intoRIOT-OS:masterfrom
nmeum:pr/picolib_error_color_reset

Conversation

@nmeum
Copy link
Member

@nmeum nmeum commented Aug 5, 2021

This is a regression which was introduced in #16114 (CC: @fjmolinas), without resetting
the color the red color will be used for all following text written to
the terminal and will also cause the shell prompt etc. pp. to be colored
in red which is undesirable. This commit fixes this regression by using
the ANSI escape sequences to reset the color after the error message has
been written.

@github-actions github-actions bot added the Area: build system Area: Build system label Aug 5, 2021
@benpicco benpicco added Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Aug 5, 2021
@benpicco benpicco added CI: skip compile test If set, CI server will run only non-compile jobs, but no compile jobs or their dependent jobs CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Aug 5, 2021
@benpicco benpicco merged commit ba3eb5f into RIOT-OS:master Aug 5, 2021
This is a regression which was introduced in RIOT-OS#16114, without resetting
the color the red color will be used for all following text written to
the terminal and will also cause the shell prompt etc. pp. to be colored
in red which is undesirable. This commit fixes this regression by using
the ANSI escape sequences to reset the color after the error message has
been written.
@benpicco benpicco added this to the Release 2021.10 milestone Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: build system Area: Build system CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR CI: skip compile test If set, CI server will run only non-compile jobs, but no compile jobs or their dependent jobs Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants