patch 8.2.3738: screen is cleared when a FocusLost autocommand triggers

Problem:    Screen is cleared when a FocusLost autocommand triggers.
Solution:   Do not redraw when at the hit-enter or more prompt. (closes #9274)
diff --git a/src/misc1.c b/src/misc1.c
index e35ba98..e780867 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -852,7 +852,8 @@
 
 	if (n == KEYLEN_REMOVED)  // key code removed
 	{
-	    if (must_redraw != 0 && !need_wait_return && (State & CMDLINE) == 0)
+	    if (must_redraw != 0 && !need_wait_return
+				 && (State & (CMDLINE|HITRETURN|ASKMORE)) == 0)
 	    {
 		// Redrawing was postponed, do it now.
 		update_screen(0);