Commit 274d94ed authored by Luca Weiss's avatar Luca Weiss Committed by Roman Gilg

fix: reset doctor output color before exiting

Summary:
Without this patch the blue from the "primary" output 'leaks' into the
prompt of some shells (e.g. busybox ash).

Test Plan: Run "kscreen-doctor -o" in ash and observe that the prompt isn't blue anymore afterwards.

Reviewers: davidedmundson

Reviewed By: davidedmundson

Subscribers: romangg, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D27383
parent 8cd7ff9f
......@@ -370,7 +370,7 @@ void Doctor::showOutputs() const
if (output->isPrimary()) {
cout << blue << "primary";
}
cout << endl;
cout << cr << endl;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment