@@ -128,7 +128,7 @@ std::string parse(const std::string_view input, systemInfo_t& systemInfo, std::s
128128 // prevent issue where in the ascii art,
129129 // theres at first either ${1} or ${0}
130130 // and that's a problem with pango markup
131- bool firstrun_noclr = (parsingLaoyut ? false : true ) ;
131+ bool firstrun_noclr = true ;
132132 static std::vector<std::string> auto_colors;
133133
134134 if (!config.sep_reset .empty () && parsingLaoyut)
@@ -277,7 +277,7 @@ std::string parse(const std::string_view input, systemInfo_t& systemInfo, std::s
277277 jump:
278278 if (command == " 1" )
279279 {
280- if (firstrun_noclr && !parsingLaoyut )
280+ if (firstrun_noclr)
281281 output =
282282 output.replace (dollarSignIndex, (endBracketIndex + 1 ) - dollarSignIndex,
283283 config.gui ? " <span weight='bold'>" : NOCOLOR_BOLD);
@@ -288,7 +288,7 @@ std::string parse(const std::string_view input, systemInfo_t& systemInfo, std::s
288288 }
289289 else if (command == " 0" )
290290 {
291- if (firstrun_noclr && !parsingLaoyut )
291+ if (firstrun_noclr)
292292 output = output.replace (dollarSignIndex, (endBracketIndex + 1 ) - dollarSignIndex,
293293 config.gui ? " <span>" : NOCOLOR);
294294 else
@@ -404,7 +404,7 @@ std::string parse(const std::string_view input, systemInfo_t& systemInfo, std::s
404404 auto_colors.push_back (command);
405405 }
406406
407- if (config.gui && firstrun_noclr && !parsingLaoyut )
407+ if (config.gui && firstrun_noclr)
408408 output += " </span>" ;
409409 }
410410 break ;
0 commit comments