From: Simon Glass <simon.glass@canonical.com> Add a struct cli_line_state member to struct scene_txtin to hold the line-editing state for each text-input object. This allows each object to maintain its own editing context. Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- include/expo.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/expo.h b/include/expo.h index 248f2363fe1..afaf1e8d107 100644 --- a/include/expo.h +++ b/include/expo.h @@ -509,12 +509,14 @@ struct scene_menitem { * @edit_id: ID of the editable text object (not string ID) * @line_chars: Nominal number of characters in a line * @buf: Text buffer containing current text + * @cls: CLI line state for text editing */ struct scene_txtin { uint label_id; uint edit_id; uint line_chars; struct abuf buf; + struct cli_line_state cls; }; /** -- 2.43.0