diff options
Diffstat (limited to 'gnu/lib/libdialog/textbox.c')
-rw-r--r-- | gnu/lib/libdialog/textbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/lib/libdialog/textbox.c b/gnu/lib/libdialog/textbox.c index 1e4ccd9..cb87474 100644 --- a/gnu/lib/libdialog/textbox.c +++ b/gnu/lib/libdialog/textbox.c @@ -130,7 +130,7 @@ int dialog_textbox(unsigned char *title, unsigned char *file, int height, int wi wmove(dialog, cur_y, cur_x); /* Restore cursor position */ wrefresh(dialog); - while ((key != ESC) && (key != '\n')) { + while ((key != ESC) && (key != '\n') && (key != '\r')) { key = wgetch(dialog); switch (key) { case 'E': /* Exit */ |