what am i smoking

This commit is contained in:
RadsammyT 2026-04-25 17:02:45 -04:00
commit 55946d2ea8
No known key found for this signature in database

View file

@ -1944,7 +1944,7 @@ fn positionWidgets(ptr: *anyopaque) !void {
// below if stmt as we need these for `battery_label` positioning.
var x_offset: usize = 0;
// To account for the first row of built-in key hints
var y_offset: usize = if (state.config.hide_key_hints) 0 else 1;
var y_offset: usize = 1;
if (!state.config.hide_key_hints) {
state.shutdown_label.positionX(state.edge_margin
.add(TerminalBuffer.START_POSITION));