[recovery] Fix debug console text wrapping

The layout width must be known for the text wrapping calculations.
However, this isn't known until the first render currently. This change
adds a hook to setup() so we can populate the value when the
ConsoleViewAssistant is set up.

Bug: b/258282295
Test: Manual, verified debug console text wraps on first access
Test: CQ

Change-Id: I8c144f77f3324f95fa27580e5349a641173d610a
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/797157
Commit-Queue: Eric Stone <ecstone@google.com>
Reviewed-by: Mike Comfoltey <comfoltey@google.com>
2 files changed
tree: be0e1da97c59f28f0e42337eafd5ab355679a4c1
  1. boards/
  2. build/
  3. bundles/
  4. docs/
  5. examples/
  6. products/
  7. scripts/
  8. sdk/
  9. src/
  10. third_party/
  11. tools/
  12. zircon/
  13. .clang-format
  14. .clang-tidy
  15. .editorconfig
  16. .git-blame-ignore-revs
  17. .gitattributes
  18. .gitignore
  19. .gitmodules
  20. .gn
  21. .style.yapf
  22. analysis_options.yaml
  23. AUTHORS
  24. BUILD.gn
  25. CODE_OF_CONDUCT.md
  26. CONTRIBUTING.md
  27. fuchsia.code-workspace
  28. LICENSE
  29. OWNERS
  30. PATENTS
  31. pyrightconfig.json
  32. README.md
  33. rustfmt.toml
README.md

Fuchsia

What is Fuchsia?

Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.

We expect everyone interacting with our project to respect our code of conduct.

Read more about Fuchsia's principles.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.