From 5c365ecabcac6d3218cf7e560bda01629a46d88e Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 2 May 2025 08:46:15 -0600 Subject: expo: Add CLI context to the expo An expo generally needs to keep track of the keyboard state while it is running, so move the context into struct expo Signed-off-by: Simon Glass --- include/expo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/expo.h b/include/expo.h index 3c383d2e2ee..b3b9c0b8872 100644 --- a/include/expo.h +++ b/include/expo.h @@ -108,6 +108,7 @@ struct expo_theme { * @theme: Information about fonts styles, etc. * @scene_head: List of scenes * @str_head: list of strings + * @cch: Keyboard context for input */ struct expo { char *name; @@ -122,6 +123,7 @@ struct expo { struct expo_theme theme; struct list_head scene_head; struct list_head str_head; + struct cli_ch_state cch; }; /** -- cgit v1.2.3