
From: Simon Glass <sjg@chromium.org> At present U-Boot does not support displaying a cursor on the console, except with expo. It is quite useful to have a cursor, particularly when using the command-line editor. This series adds tracking of the cursor position for both truetype and normal consoles. The cursor is shown when U-Boot is idle and is removed before writing characters to the display. A save-buffer ensures that the old display contents are provided. Some related improvements in this series include: - expo lineedit support with normal console - arrow keys now render correctly when editing commands with truetype - truetype console now also supports bitmap fonts The cursor is not currently supported for rotated consoles. A README for claude is provided, although so far I have not had too much success with it. A fix for an intermittent build is added as well, along with silencing some build messages noticed from Rust ulib. Simon Glass (42): Provide a README for Claude cyclic: Avoid showing messages when debugging video: Correct ops check for nominal, entry save/restore Makefile: Silence the example Rust build scripts: Fix conditional syntax for capsule ESL generation test: video: Split long strings video: Provide an option to enable the cursor snow: link: Disable the cursor video: console: Put fixed-font rendering into a shared file video: truetype: Rename the FONT_ENTRY() macro video: Move setting of the bitmap font into uclass video: Allow selection of bitmap fonts in truetype video: truetype: Handle rendering of bitmap fonts video: truetype: Use common cursor-drawing code video: Correct cursor handling when the the left side video: Convert to use uclass_id_foreach_dev() video: Provide an idle function for the console video: Provide state for the cursor video: Rename draw_cursor_vertically() to cursor_show() video: Update cursor_show() to take a simple pointer video: Move cursor drawing into the uclass video: Track the current CLI index video: Provide a way to indicate the start of CLI entry console: Add debugging for kerning video: truetype: Record the position where CLI entry starts video: truetype: Track characters and their widths expo: Enable the cursor when editing a textline video: Track whether the cursor is enabled video: Drop vidconsole_set_cursor_visible() video: Update normal console to use tracking information video: Add save and restore drivers for normal console video: Drop extra parameters from get_cursor_info() video: Support a cursor in multi-line text video: Drop extra parameters from vidconsole_show_cursor() video: Provide a buffer to hold pixels behind the cursor video: Support reading the framebuffer when writing video: Save overwritten pixels when drawing the cursor video: Show the cursor when idle video: truetype: Clear after the current char on insert video: truetype: Avoid clearing on backspace video: Add some notes about the cursor console: Add some cursor tests .claude/.gitignore | 1 + .claude/README.md | 69 ++++++ .gitignore | 1 + boot/scene_textline.c | 9 +- cmd/font.c | 3 - common/Kconfig | 9 + common/cli_readline.c | 5 + common/cyclic.c | 5 +- configs/chromebook_link_defconfig | 1 + configs/snow_defconfig | 1 + doc/usage/cmd/font.rst | 16 +- drivers/video/Kconfig | 8 + drivers/video/console_core.c | 195 ++++++++++++++--- drivers/video/console_normal.c | 140 ++++++++---- drivers/video/console_truetype.c | 326 ++++++++++++++++++---------- drivers/video/vidconsole-uclass.c | 176 ++++++++++++++- drivers/video/vidconsole_internal.h | 77 ++++++- drivers/video/video-uclass.c | 30 ++- examples/rust/Makefile | 3 - include/video_console.h | 164 ++++++++++++-- scripts/Makefile.lib | 5 +- test/cmd/font.c | 15 +- test/dm/video.c | 162 +++++++++++++- 23 files changed, 1173 insertions(+), 248 deletions(-) create mode 100644 .claude/.gitignore create mode 100644 .claude/README.md -- 2.43.0 base-commit: 0c2531998ee8fc2da099cb3e20cbabc5221c0b3d branch: curs