summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkre <usokk@student.kit.edu>2023-12-14 00:58:17 +0100
committerjkre <usokk@student.kit.edu>2023-12-14 00:58:17 +0100
commit1ad1418771bd69c70674388d64a4965f9f7d0582 (patch)
tree6c3baf0293be0d446d83634dd741d3e843fc6d1a
parentddd4bec1c3eed40241fe22254770bc52e931bb88 (diff)
remove redundant space
-rw-r--r--src/btop_draw.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/btop_draw.cpp b/src/btop_draw.cpp
index dde135d..b5e75ec 100644
--- a/src/btop_draw.cpp
+++ b/src/btop_draw.cpp
@@ -736,7 +736,7 @@ namespace Cpu {
out += Mv::to(y, bat_pos) + title_left + Theme::c("title") + Fx::b + "BAT" + bat_symbol + ' ' + str_percent
+ (Term::width >= 100 ? Fx::ub + ' ' + bat_meter(percent) + Fx::b : "")
- + (not str_time.empty() ? ' ' + Theme::c("title") + str_time : " ") + (not str_watts.empty() ? ' ' + Theme::c("title") + Fx::b + str_watts : " ") + Fx::ub + title_right;
+ + (not str_time.empty() ? ' ' + Theme::c("title") + str_time : "") + (not str_watts.empty() ? ' ' + Theme::c("title") + Fx::b + str_watts : " ") + Fx::ub + title_right;
}
}
else if (bat_pos > 0) {
@@ -2239,3 +2239,4 @@ namespace Draw {
}
}
}
+