diff options
| author | verdant <im@verdant.ee> | 2026-08-05 21:07:29 +0800 |
|---|---|---|
| committer | verdant <im@verdant.ee> | 2026-08-05 21:07:29 +0800 |
| commit | 002444ddd6e9ab8938e796f155f5ffd2ee14ad31 (patch) | |
| tree | ad7c6792e5a5ea63feda9a230ecb6b80238ae054 /src/utils.h | |
| parent | 67ce364fe39d971b5190421f280e6e033f11571d (diff) | |
| download | sf-002444ddd6e9ab8938e796f155f5ffd2ee14ad31.tar.gz sf-002444ddd6e9ab8938e796f155f5ffd2ee14ad31.zip | |
Print prompt at the beginning of function and use len instead of builtin variable
Diffstat (limited to 'src/utils.h')
| -rw-r--r-- | src/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |
