summaryrefslogtreecommitdiff
path: root/tools/u_boot_pylib/test_util.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-10-14 16:31:54 -0600
committerSimon Glass <sjg@chromium.org>2024-10-18 14:10:22 -0600
commit18a85cf7b5da3b8fabfed809cc972f0b58279620 (patch)
treee983fa85bf8c938b2556dbd4e051f66d7e69a2b6 /tools/u_boot_pylib/test_util.py
parent52c19173dfa162868be792d61a2e48e4bb6e0112 (diff)
video: Avoid starting a new line to close to the bottom
When starting a new text line, an assumption is made that the current vertical position is a multiple of the character height. When this is not true, characters can be written after the end of the framebuffer. This can causes crashes and strange errors from QEMU. Adjust the scrolling check when processing a newline character, to avoid any problems. Add some comments to make things a little clearer. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/u_boot_pylib/test_util.py')
0 files changed, 0 insertions, 0 deletions