commit | 7f4fa112308e0c1660fd6683378e2aea63083cbe | [log] [tgz] |
---|---|---|
author | Anthony DiGirolamo <tonymd@google.com> | Tue Jun 29 09:54:27 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 01 03:36:19 2021 +0000 |
tree | cceec0f2ee644175ddb0cf41085b5ab09a104072 | |
parent | 0e514738cdf745fedb8ad3b3c1e64a152c2e4572 [diff] |
pw_console: Simplify line height and remaining width calc The pw_console.helpers.get_line_height() function was already calculating the remaining characters in a line, this change returns that value and adds some additional test cases. No-Docs-Update-Reason: Additional tests and code cleanup Change-Id: I830b3a7807322de7cdf2138a4cbd84568e1d05eb Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/51521 Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Reviewed-by: Keir Mierle <keir@google.com> Pigweed-Auto-Submit: Anthony DiGirolamo <tonymd@google.com>
See our website: http://pigweed.dev