* Handle the flashing of the caret. * @return True if the caret state changes. */
| 461 | * @return True if the caret state changes. |
| 462 | */ |
| 463 | bool Textbuf::HandleCaret() |
| 464 | { |
| 465 | /* caret changed? */ |
| 466 | bool b = !!(_caret_timer & 0x20); |
| 467 | |
| 468 | if (b != this->caret) { |
| 469 | this->caret = b; |
| 470 | return true; |
| 471 | } |
| 472 | return false; |
| 473 | } |
| 474 | |
| 475 | HandleKeyPressResult Textbuf::HandleKeyPress(char32_t key, uint16_t keycode) |
| 476 | { |
no outgoing calls
no test coverage detected