--- a/src/input.c Thu Sep 03 16:18:24 2026 +0200
+++ b/src/input.c Thu Sep 03 18:32:47 2026 +0200
@@ -31,7 +31,7 @@
#include <curses.h>
#include <ctype.h>
-int prompt_yesno(char *msg) {
+int prompt_yesno(const char *msg) {
addstr(msg);
addstr(" (y/n)? ");
clrtoeol();
--- a/src/input.h Thu Sep 03 16:18:24 2026 +0200
+++ b/src/input.h Thu Sep 03 18:32:47 2026 +0200
@@ -36,7 +36,7 @@
extern "C" {
#endif
-int prompt_yesno(char *msg);
+int prompt_yesno(const char *msg);
/**
* Asynchronous variant of getnstr().