From 11fd147031de55adf7140c29cdef92729a2b8c12 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Mon, 22 Sep 2025 10:55:04 +0100 Subject: [PATCH] term: tty: update hash api usage --- term/tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/term/tty.c b/term/tty.c index d782d40..05d1cb0 100644 --- a/term/tty.c +++ b/term/tty.c @@ -51,7 +51,7 @@ static void apply_code_to_vmode(struct tty_format_buf *fmt) { const char *modifier = fmt->buf; - uint64_t mod_hash = b_hash_string(modifier); + uint64_t mod_hash = b_hash_cstr(modifier); if (COMPARE_MOD_NAME(modifier, "black", mod_hash, MOD_HASH_BLACK)) { fmt->vmode.v_fg.c_mode = B_TTY_COLOUR_16;