Don't depend on b_column_size to show core temps

This commit is contained in:
RipleyTom 2024-03-14 06:44:43 +01:00
parent c767099d76
commit bcb13f2af2
No known key found for this signature in database
GPG Key ID: FC2B5DEF76BF4CC8
1 changed files with 1 additions and 1 deletions

View File

@ -694,7 +694,7 @@ namespace Cpu {
if (show_temps) {
temp_graphs.clear();
temp_graphs.emplace_back(5, 1, "temp", safeVal(cpu.temp, 0), graph_symbol, false, false, cpu.temp_max, -23);
if (not hide_cores and b_column_size > 1) {
if (not hide_cores) {
for (const auto& i : iota((size_t)1, cpu.temp.size())) {
temp_graphs.emplace_back(5, 1, "temp", safeVal(cpu.temp, i), graph_symbol, false, false, cpu.temp_max, -23);
}