]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
made <Enter> go to the next component
authorewt <ewt>
Sat, 13 Jul 1996 20:09:13 +0000 (20:09 +0000)
committerewt <ewt>
Sat, 13 Jul 1996 20:09:13 +0000 (20:09 +0000)
entry.c

diff --git a/entry.c b/entry.c
index aebea4c83bd72374dc0c1d02dd6022223308f91d..f10a9873ba013e29c5f547637425105f25480cec 100644 (file)
--- a/entry.c
+++ b/entry.c
@@ -193,6 +193,8 @@ static struct eventResult entryHandleKey(struct newtComponent * co, int key) {
       case '\r':                               /* Return */
        if (en->flags & NEWT_ENTRY_RETURNEXIT) {
            er.result = ER_EXITFORM;
+       } else {
+           er.result = ER_NEXTCOMP;
        }
        break;