patch 8.2.4401: map listing does not clear the rest of the command line

Problem:    Map listing does not clear the rest of the command line.
Solution:   Call msg_clear_eos(). (closes #5623, closes #5962)
diff --git a/src/map.c b/src/map.c
index e45ea75..b681d2f 100644
--- a/src/map.c
+++ b/src/map.c
@@ -204,6 +204,7 @@
     if (p_verbose > 0)
 	last_set_msg(mp->m_script_ctx);
 #endif
+    msg_clr_eos();
     out_flush();			// show one line at a time
 }