mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 10:56:11 +00:00
Don't use scr.html in CommandTask (#1683)
This commit is contained in:
parent
239fde50be
commit
39a9266be1
@ -10,7 +10,9 @@ CommandTask::CommandTask(const QString &cmd, ColorMode colorMode, bool outFormat
|
||||
void CommandTask::runTask() {
|
||||
TempConfig tempConfig;
|
||||
tempConfig.set("scr.color", colorMode);
|
||||
tempConfig.set("scr.html", outFormatHtml);
|
||||
auto res = Core()->cmdTask(cmd);
|
||||
if (outFormatHtml) {
|
||||
res = CutterCore::ansiEscapeToHtml(res);
|
||||
}
|
||||
emit finished(res);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user