object: b_strlen and b_string_get_size can now ignore term's formatting codes

This commit is contained in:
2024-11-14 22:03:09 +00:00
parent 9ac204e84e
commit b2c9c7cab9
2 changed files with 21 additions and 9 deletions

View File

@@ -15,6 +15,7 @@ typedef struct b_string b_string;
typedef enum b_strlen_flags {
B_STRLEN_NORMAL = 0,
B_STRLEN_IGNORE_ESC = 0x01u,
B_STRLEN_IGNORE_MOD = 0x02u,
} b_strlen_flags;
typedef struct b_strv_builder {