mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
video: Add a note about the broken implementation
The cls command is broken. Previous discussion about this was at [1] and [2]. For now, add a note to the source code. [1] https://patchwork.ozlabs.org/project/uboot/patch/ 20221022092058.106052-1-heinrich.schuchardt@canonical.com/ [2] https://patchwork.ozlabs.org/project/uboot/patch/ 20230106145243.411626-12-sjg@chromium.org/ Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
b7adb69e9a
commit
61a6210541
1 changed files with 7 additions and 1 deletions
|
@ -17,7 +17,13 @@ static int do_video_clear(struct cmd_tbl *cmdtp, int flag, int argc,
|
|||
{
|
||||
__maybe_unused struct udevice *dev;
|
||||
|
||||
/* Send clear screen and home */
|
||||
/*
|
||||
* Send clear screen and home
|
||||
*
|
||||
* FIXME(Heinrich Schuchardt <xypron.glpk@gmx.de>): This should go
|
||||
* through an API and only be written to serial terminals, not video
|
||||
* displays
|
||||
*/
|
||||
printf(CSI "2J" CSI "1;1H");
|
||||
if (IS_ENABLED(CONFIG_VIDEO_ANSI))
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue