hps-mon: Use rustyline's new external printer API

This lets us print output without messing up the prompt or any partially
written command, which means we no longer need to press enter in order
to activate the console.

BUG=b:247655226
TEST=./scripts/run-dev

Change-Id: I9154742c322de385b69e95b057fce5365a6fd865
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/hps-firmware/+/3941149
Reviewed-by: Jakub Młynarczyk <jakubm@chromium.org>
Tested-by: David Lattimore <dml@chromium.org>
Commit-Queue: David Lattimore <dml@chromium.org>
5 files changed
tree: e7754e5ba5e598464c97b710ef8aed994f768324
  1. .vscode/
  2. avr/
  3. bin/
  4. docs/
  5. models/
  6. renode/
  7. rust/
  8. scripts/
  9. soc/
  10. test_data/
  11. third_party/
  12. toolchain/
  13. .clang-format
  14. .gitignore
  15. .gn
  16. BUILD.gn
  17. BUILDCONFIG.gn
  18. DIR_METADATA
  19. environment
  20. LICENSE
  21. OWNERS
  22. PRESUBMIT.cfg
  23. pylintrc
  24. README.md
  25. rust-toolchain.toml
README.md

ChromiumOS Human Presence Sensor

The ChromiumOS Human Presence Sensor is a hardware peripheral which can detect the presence of one or more humans in front of the Chromebook.

This repository contains source code for the firmware which runs on the peripheral.

For more information, refer to the design document (Googlers only).

Documentation