tui: Add support for newlines in labels.

Update the text wrapping calculation to always split on \n characters to
allow deliberate splitting of a message into multiple lines.

Bug: 261168244
Test: atest --test-mapping $PWD:all
Change-Id: Idf0ba558325dd9ec03abe3b095a5fc1b7b2561d8
4 files changed
tree: 3baf25e400786ae74e0e5dd2a2dbb0b3b76c2fdf
  1. libteeui/
  2. libteeui_jni/
  3. test/
  4. tools/
  5. .clang-format
  6. OWNERS
  7. PREUPLOAD.cfg