gdb: add field::name / field::set_name
[binutils-gdb.git] / gdb / ser-mingw.c
index 043bb50b577f0ad569f1ac25a524c9d4ae09f730..2bad51310f67cb65a5792ef2fe93243d3a9bdaf3 100644 (file)
@@ -599,6 +599,11 @@ console_select_thread (void *arg)
                  break;
                }
            }
+         else if (record.EventType == MOUSE_EVENT)
+           {
+             SetEvent (state->read_event);
+             break;
+           }
 
          /* Otherwise discard it and wait again.  */
          ReadConsoleInput (h, &record, 1, &n_records);