summaryrefslogtreecommitdiffstats
path: root/newt/build/newt-0.52.2-cursor.patch
blob: ec6641df20f019d5341b5230ab8286c3db03992f (plain)
1
2
3
4
5
6
7
8
9
10
--- newt-0.52.2/entry.c.cursor	2005-09-30 16:05:55.000000000 +0200
+++ newt-0.52.2/entry.c	2006-06-07 13:39:47.000000000 +0200
@@ -322,6 +322,7 @@
     switch (key) {
       case '\r':				/* Return */
 	if (en->flags & NEWT_FLAG_RETURNEXIT) {
+	    newtCursorOff();
 	    er.result = ER_EXITFORM;
 	} else {
 	    er.result = ER_NEXTCOMP;