From 002444ddd6e9ab8938e796f155f5ffd2ee14ad31 Mon Sep 17 00:00:00 2001 From: verdant Date: Wed, 5 Aug 2026 21:07:29 +0800 Subject: Print prompt at the beginning of function and use len instead of builtin variable --- src/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils.h') diff --git a/src/utils.h b/src/utils.h index 2e99a21..fedbc5e 100644 --- a/src/utils.h +++ b/src/utils.h @@ -4,6 +4,6 @@ #include "fm.h" #include "wm.h" -int get_input(const char *prompt, char *buf); +int get_input(const char *prompt, char *buf, size_t len); #endif /* SF_UTILS_H */ -- cgit v1.2.3