diff --git a/src/uifc/uifcc.c b/src/uifc/uifcc.c
index d98d673563f401ec675c9836fb2f25f6c6d24a70..73def0272634be76d4cb6b9f267fafbcced13354 100644
--- a/src/uifc/uifcc.c
+++ b/src/uifc/uifcc.c
@@ -1214,7 +1214,7 @@ static int ugetstr(char *outstr, int max, long mode)
 #endif
 		f=inkey(0);
 		gotoxy(wherex()-i,y);
-		if(f >= 0xff)
+		if(f == CR || f >= 0xff)
 		{
 			cputs(outstr);
 		}