aboutsummaryrefslogtreecommitdiff
path: root/boot/cedit.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-10-01 19:13:21 -0600
committerTom Rini <trini@konsulko.com>2023-10-11 15:43:55 -0400
commit37db20d0a64132a7ae3d0223de6b93167d60bea4 (patch)
treebf99fa1818795e3cc56c1eb9fb72c8a333161569 /boot/cedit.c
parent617d7b545b6fa555f47944a10b1a1b261491e3b9 (diff)
video: Support showing a cursor
Add rudimentary support for displaying a cursor on a vidconsole. This helps the user to see where text is being entered. The implementation so far is very simple: the cursor is just a vertical bar of fixed width and cannot be erased. To erase the cursor, the text must be redrawn over it. This is good enough for expo but will need enhancement to be useful for the command-line console. For example, it could save and restore the area behind the cursor. For now, enable this only for expo, to reduce code size. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/cedit.c')
0 files changed, 0 insertions, 0 deletions