--- a/src/input.c Thu Apr 23 10:09:36 2026 +0200
+++ b/src/input.c Thu Apr 23 12:26:53 2026 +0200
@@ -56,6 +56,8 @@
*pos = 0;
waddch(w,'\n');
return 1;
+ case 127: /* ASCII DEL (important for macOS) */
+ case KEY_DC: /* DEL key (for other OS) */
case KEY_BACKSPACE:
case KEY_LEFT:
if ((*pos) > 0) {