lint(format): change format rules a bit

This commit is contained in:
2025-06-10 23:44:40 +02:00
parent 22c3f7c896
commit bb1ca09fd8
7 changed files with 20 additions and 27 deletions

View File

@@ -419,8 +419,7 @@ static void clean_line(struct uint_point origin, uint line) {
}
// TODO: session_len > 32
static void print_session(struct uint_point origin,
struct session session,
static void print_session(struct uint_point origin, struct session session,
bool multiple) {
clean_line(origin, 5);
const char* session_type;
@@ -454,8 +453,7 @@ static void print_session(struct uint_point origin,
}
// TODO: user_len > 32
static void print_user(struct uint_point origin,
struct user user,
static void print_user(struct uint_point origin, struct user user,
bool multiple) {
clean_line(origin, 7);
printf("\r\x1b[%luC\x1b[%sm%s\x1b[%sm",