| 39 | } |
| 40 | |
| 41 | int32_t Term::read_key() { |
| 42 | int32_t key; |
| 43 | while ((key = read_key0()) == NO_KEY) { |
| 44 | std::this_thread::sleep_for(std::chrono::milliseconds(10)); |
| 45 | } |
| 46 | return key; |
| 47 | } |
| 48 | |
| 49 | int32_t Term::read_key0() { |
| 50 | char c{}; |
nothing calls this directly
no outgoing calls
no test coverage detected