diff options
author | Simon Glass | 2023-10-01 19:13:20 -0600 |
---|---|---|
committer | Tom Rini | 2023-10-11 15:43:55 -0400 |
commit | 617d7b545b6fa555f47944a10b1a1b261491e3b9 (patch) | |
tree | 6551e6e190c5794c7830ff2777628b19bc721d38 /include/video_console.h | |
parent | 9899eef2cb41a9cde1dca87f3ddb041e347b177a (diff) |
video: Export vidconsole_entry_start()
At present this is called only when a newline is detected, since this
indicates the start of a line of text being entered.
Export this function so it can be used by expo, which may start a new
text line itself, without first writing out a newline.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/video_console.h')
-rw-r--r-- | include/video_console.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/video_console.h b/include/video_console.h index 28d65451889..87f9a588575 100644 --- a/include/video_console.h +++ b/include/video_console.h @@ -400,6 +400,15 @@ int vidconsole_move_rows(struct udevice *dev, uint rowdst, uint rowsrc, int vidconsole_set_row(struct udevice *dev, uint row, int clr); /** + * vidconsole_entry_start() - Set the start position of a vidconsole line + * + * Marks the current cursor position as the start of a line + * + * @dev: Device to adjust + */ +int vidconsole_entry_start(struct udevice *dev); + +/** * vidconsole_put_char() - Output a character to the current console position * * Outputs a character to the console and advances the cursor. This function |