]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
- turn off cursor when entry terminated form (#86074)
authormlichvar <mlichvar>
Fri, 15 Sep 2006 13:33:25 +0000 (13:33 +0000)
committermlichvar <mlichvar>
Fri, 15 Sep 2006 13:33:25 +0000 (13:33 +0000)
entry.c

diff --git a/entry.c b/entry.c
index 1ca1c0cb96a0712fb38c9cd5025096a4427c40c7..9e67b3d62c0f35711af9514b56e5e6583aac85d0 100644 (file)
--- a/entry.c
+++ b/entry.c
@@ -322,6 +322,7 @@ static struct eventResult entryHandleKey(newtComponent co, int key) {
     switch (key) {
       case '\r':                               /* Return */
        if (en->flags & NEWT_FLAG_RETURNEXIT) {
+           newtCursorOff();
            er.result = ER_EXITFORM;
        } else {
            er.result = ER_NEXTCOMP;