From: mlichvar Date: Fri, 15 Sep 2006 13:33:25 +0000 (+0000) Subject: - turn off cursor when entry terminated form (#86074) X-Git-Tag: r0-52-3~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e5437c85c5dd426ee4dd1c6153fd34396c0e40df;p=thirdparty%2Fnewt.git - turn off cursor when entry terminated form (#86074) --- diff --git a/entry.c b/entry.c index 1ca1c0c..9e67b3d 100644 --- 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;