changeset 48 | 1f00e90fd72a |
parent 47 | 537d7c6b48a2 |
child 50 | c5b8b9d2da95 |
47:537d7c6b48a2 | 48:1f00e90fd72a |
---|---|
29 Event event; |
29 Event event; |
30 term.get_next_event(event); |
30 term.get_next_event(event); |
31 |
31 |
32 switch (event.type) |
32 switch (event.type) |
33 { |
33 { |
34 case EventType::quit: |
34 case Event::QUIT: |
35 done = true; |
35 done = true; |
36 break; |
36 break; |
37 |
37 |
38 default: |
38 default: |
39 break; |
39 break; |