From 9cccb4817eb64cf3f9a4f6b38ca3659dc5f3865a Mon Sep 17 00:00:00 2001 From: Leonmmcoset <152147508+Leonmmcoset@users.noreply.github.com> Date: Sun, 26 Apr 2026 09:52:33 +0000 Subject: [PATCH] style: auto-format C/C++ sources with clang-format --- cleonos/c/apps/terminal/terminal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cleonos/c/apps/terminal/terminal.c b/cleonos/c/apps/terminal/terminal.c index 96b9b65..f1ebbeb 100644 --- a/cleonos/c/apps/terminal/terminal.c +++ b/cleonos/c/apps/terminal/terminal.c @@ -378,7 +378,8 @@ static void term_draw_text(term_app *app, int x, int y, const char *text, int sc } static void term_draw_control_button(term_app *app, int x, int active, int kind) { - term_u32 bg = (kind == 2) ? TERM_COLOR_CLOSE : (active != 0 ? TERM_COLOR_CONTROL_ACTIVE : TERM_COLOR_CONTROL_INACTIVE); + term_u32 bg = + (kind == 2) ? TERM_COLOR_CLOSE : (active != 0 ? TERM_COLOR_CONTROL_ACTIVE : TERM_COLOR_CONTROL_INACTIVE); term_u32 fg = (kind == 2 || active != 0) ? TERM_COLOR_WHITE : TERM_COLOR_TEXT; int cy = TERM_TITLE_H / 2; int cx = x + (TERM_CONTROL_W / 2);