diff options
| author | Simon Glass <[email protected]> | 2023-03-10 12:47:23 -0800 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2023-03-13 13:53:01 +0100 |
| commit | 61a621054194216eefc1a6f5af0a63aa265bbaef (patch) | |
| tree | 50d264f36cd5417e9af5e3b7ed5800f34b8c1320 /cmd | |
| parent | b7adb69e9a20c2f4ea5c184d057f792efc693b03 (diff) | |
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/
[email protected]/
[2] https://patchwork.ozlabs.org/project/uboot/patch/
[email protected]/
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/cls.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cmd/cls.c b/cmd/cls.c index 073ba5a6c86..1125a3f81bb 100644 --- a/cmd/cls.c +++ b/cmd/cls.c @@ -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 <[email protected]>): 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; |
