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 <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-05-02 08:46:15 -06:00
parent 4f4b9477f4
commit 5c365ecabc
4 changed files with 9 additions and 11 deletions

View File

@@ -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;
};
/**