diff --git a/src/uifc/uifc32.c b/src/uifc/uifc32.c
index a5b82cc002b1739b64630e70857f4c92d2154753..addbe4175700fce27f06f400d49f1c85d9c6053b 100644
--- a/src/uifc/uifc32.c
+++ b/src/uifc/uifc32.c
@@ -1837,7 +1837,8 @@ int ugetstr(int left, int top, int width, char *outstr, int max, long mode, int
 						if(lastkey)
 							*lastkey=CIO_KEY_MOUSE;
 						ungetmouse(&mevnt);
-						return(j);
+						ch=CR;
+						continue;
 					}
 					if(mevnt.starty == top
 							&& mevnt.startx>=left