sdlterm/demo.cc
changeset 57 911927edbdde
parent 52 50a1857557da
equal deleted inserted replaced
56:282a07d20680 57:911927edbdde
    37 
    37 
    38 
    38 
    39 void Application::wait_and_process_event()
    39 void Application::wait_and_process_event()
    40 {
    40 {
    41     Event event;
    41     Event event;
    42     term.get_next_event(event);
    42     term.wait_event(event, 0);
    43 
    43 
    44     switch (event.type)
    44     switch (event.type)
    45     {
    45     {
    46         case Event::QUIT:
    46         case Event::QUIT:
    47             done = true;
    47             done = true;