| Message ID | 20251207201628.2882382-22-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1765138694; bh=H99RFforvVvtmzlYxIf+0P/qAviiLjPQ+DP+2pF1wu4=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=goaRZZEI8/F1MPud6FxAPXussICI7OjWkaAICLfXorwgsHyqxBcpv1BpTFwJWyTEe zNulKO3f/rAZId3jJNylfx1wJcUOZe6fWYdCtQOig3eAqq34vz11/U26YLKldCXaVn 4tMwM6yRsDb8EB7gcgFzOEiDe3P74B/OLHyzVRz64+05/qRiu4TK103BMOC++mmxNH INp71eXv3uJ+lBSUzWYm+1frT5AM90vH4F6d9JzrbB2z7mV4chn75sS1RQmy6Y2DJC zA3m5duUcB0SsUkVS3VOBYjJevPjZnzRKXHZ/XZPoxTMFELs59Xzluw7vHyfY1y3Id 0Xez+V3t8XNwg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 4659C689A7 for <u-boot-concept@u-boot.org>; Sun, 7 Dec 2025 13:18:14 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id IlrC7LbBOJEN for <u-boot-concept@u-boot.org>; Sun, 7 Dec 2025 13:18:14 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1765138694; bh=H99RFforvVvtmzlYxIf+0P/qAviiLjPQ+DP+2pF1wu4=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=goaRZZEI8/F1MPud6FxAPXussICI7OjWkaAICLfXorwgsHyqxBcpv1BpTFwJWyTEe zNulKO3f/rAZId3jJNylfx1wJcUOZe6fWYdCtQOig3eAqq34vz11/U26YLKldCXaVn 4tMwM6yRsDb8EB7gcgFzOEiDe3P74B/OLHyzVRz64+05/qRiu4TK103BMOC++mmxNH INp71eXv3uJ+lBSUzWYm+1frT5AM90vH4F6d9JzrbB2z7mV4chn75sS1RQmy6Y2DJC zA3m5duUcB0SsUkVS3VOBYjJevPjZnzRKXHZ/XZPoxTMFELs59Xzluw7vHyfY1y3Id 0Xez+V3t8XNwg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 34D4168900 for <u-boot-concept@u-boot.org>; Sun, 7 Dec 2025 13:18:14 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1765138692; bh=0E1W4EGsXeagHqbiRBOKfuPKk7hT2jpseEZY+U8ehvA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wXiafChL5tp4wf0VXnpTjn3u2U+atEuMJ+MDUpCX0vAWQGrSh/W9ZjAcpv+9kMAuo 4bWNPiXw+ehz6Ap4f3RzDEoTkz5bxu1IvVNNUYGPS7v3yRT+KFqKvgMVFWg1kGtVXn fDrfKky2g2ANepsmH/+Sl/1m7yiy7V+qD+utGZRIxXG6xzblr9BYouwXaLguJbwuwh b095fyN5/40jO6+gLQsjYPlgBaWYDyVj9+DtDUbZ8XuVLGZ3JMNLefY1g9YRC8pxuE KFbhriHzuyiqILj/3JGj7UI/YysGqCxN9+v1HbFOWRgNnBgot0ovDWuKw7r4VX3ukN w9OESabmwBptQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 18E1A68950; Sun, 7 Dec 2025 13:18:12 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id se7aj89B00HN; Sun, 7 Dec 2025 13:18:12 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1765138687; bh=g5Fhe47j2ANcszityU8DPFuiBPA3S3Ue1wx/6I4cSms=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NikEhrbvGHXan8F3CxSLWf6iAwhAvarrPdHGJtfZgz28ZZKmFu2YfQ7EuZULd2ZHB JUEuBu7odeuapDwMDXQllbARqwKz9XOLA6U5tggxmPmbRzua8jE0NaoczkdV3yEB/6 hY2AuyPwCZsd4f+9APlbVz6P60wOVUTT+BioPGv7P7tOPlLRhkj51DQqz9C2J+Eunk MCRIYDsNcChMoTkTmcnutaPbyYQUjzdpzjmRz62ZRmZWmMtIJdJ7GDO1DoVHH0Hkn1 myNA5gqeNVw/0cDOK82DD730AwTpurbz5cnKadRN7Gg7ZmqQ7ExFKitHtt1DNBZfsK ZmxePWURheNeQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 048C66883E; Sun, 7 Dec 2025 13:18:06 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Sun, 7 Dec 2025 13:16:18 -0700 Message-ID: <20251207201628.2882382-22-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251207201628.2882382-1-sjg@u-boot.org> References: <20251207201628.2882382-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: IUMS5WBULOMQ43DO7YDTEOJKAMWRO3KU X-Message-ID-Hash: IUMS5WBULOMQ43DO7YDTEOJKAMWRO3KU X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <simon.glass@canonical.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 21/22] expo: Consider an item selected when a password is entered List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/IUMS5WBULOMQ43DO7YDTEOJKAMWRO3KU/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
expo: Expand docs, dump and textlines in non-popup expos
|
|
Commit Message
Simon Glass
Dec. 7, 2025, 8:16 p.m. UTC
From: Simon Glass <simon.glass@canonical.com> When the user types in an unlock password then presses 'enter', select the item containing the password. This avoids needing to click on an item as well. Signed-off-by: Simon Glass <simon.glass@canonical.com> --- boot/bootflow_menu.c | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/boot/bootflow_menu.c b/boot/bootflow_menu.c index ee3150afef4..01af30c6627 100644 --- a/boot/bootflow_menu.c +++ b/boot/bootflow_menu.c @@ -457,6 +457,13 @@ int bootflow_menu_poll(struct expo *exp, int *seqp) } case EXPOACT_QUIT: return -EPIPE; + case EXPOACT_CLOSE: + /* + * Password textline closed (Enter pressed) - treat as + * selection + */ + *seqp = act.select.id - ITEM_PASS; + break; case EXPOACT_CLICK: if (act.select.id == OBJ_SETTINGS) return -ECOMM; /* layout change request */