#include <lib-lib/mem.h>
#include <lib-lib/str.h>
#include <lib-lib/macros.h>
+#include <lib-lib/file.h>
#include "mutt.h"
#include "enter.h"
printw ("%.*s%s", COLS - answer_string_len, msg, answer_string);
p_delete(&answer_string);
- FOREVER {
+ for (;;) {
mutt_refresh ();
ch = mutt_getch ();
if (CI_is_return (ch.ch))
mvaddstr (LINES - 1, 0, prompt);
clrtoeol ();
- FOREVER {
+ for (;;) {
mutt_refresh ();
ch = mutt_getch ();
if (ch.ch == -1 || CI_is_return (ch.ch)) {