{"id":2220990,"url":"http://patchwork.ozlabs.org/api/1.2/patches/2220990/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260408-ui-cosmetics-v2-2-721dc6d2116a@postmarketos.org/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260408-ui-cosmetics-v2-2-721dc6d2116a@postmarketos.org>","list_archive_url":null,"date":"2026-04-08T16:34:57","name":"[v2,2/2] cmd: bootmenu: ANSI_CLEAR_LINE before entry name","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"b6ac78ebd37deb051005e95455fb25a323c44483","submitter":{"id":90020,"url":"http://patchwork.ozlabs.org/api/1.2/people/90020/?format=json","name":"Ferass El Hafidi","email":"funderscore@postmarketos.org"},"delegate":{"id":3651,"url":"http://patchwork.ozlabs.org/api/1.2/users/3651/?format=json","username":"trini","first_name":"Tom","last_name":"Rini","email":"trini@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260408-ui-cosmetics-v2-2-721dc6d2116a@postmarketos.org/mbox/","series":[{"id":499158,"url":"http://patchwork.ozlabs.org/api/1.2/series/499158/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=499158","date":"2026-04-08T16:34:55","name":"Autoboot prompt customization and bootmenu cosmetics","version":2,"mbox":"http://patchwork.ozlabs.org/series/499158/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2220990/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2220990/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=postmarketos.org header.i=@postmarketos.org\n header.a=rsa-sha256 header.s=key1 header.b=kDPtwICd;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=postmarketos.org header.i=@postmarketos.org\n header.b=\"kDPtwICd\";\n\tdkim-atps=neutral","phobos.denx.de; dmarc=pass (p=quarantine dis=none)\n header.from=postmarketos.org","phobos.denx.de;\n spf=pass smtp.mailfrom=funderscore@postmarketos.org"],"Received":["from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4frTFy0CW5z1xv0\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 09 Apr 2026 02:35:50 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 49C2383F98;\n\tWed,  8 Apr 2026 18:35:32 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id B303384142; Wed,  8 Apr 2026 18:35:31 +0200 (CEST)","from out-179.mta0.migadu.com (out-179.mta0.migadu.com\n [91.218.175.179])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id D8F3F83D8A\n for <u-boot@lists.denx.de>; Wed,  8 Apr 2026 18:35:29 +0200 (CEST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED,\n SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2","X-Report-Abuse":"Please report any abuse attempt to abuse@migadu.com and\n include these headers.","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org;\n s=key1; t=1775666129;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=pgCxefpAADFmaBf7yKs9CrXigRVeVam7xmJB6EPnUk8=;\n b=kDPtwICdIR6Cqfs6wnnCq4hgw6r0cYcZMKfH/Pfp4IVhYY+xJNGALaELBMRE12AdjOpE2G\n UOOlYKgb/8b3U4gP39FLKbnFOlOhkoOM1vM1ZflH8wlDNlJZ4A4WcHZNteB+ZXCiLWf/GA\n nIwKhsm4hFLbvOFdZ+NmcdxPFQbqWSzCXwSKPFj4grkMyvWNuFCrE8putGmc87opVK3N67\n vPnvAuLfgYv3bC6ohnEJHrH1L09j1EnAeAcYucLFm1J+17UEbntKwNgV4+NSUTYsR11/MP\n S4NaX7B+KaMM5dwVsaLkphx8i0BZ6sJAfN8oX8KSs4LCx2+wnmfMrB5i6MtG5Q==","From":"Ferass El Hafidi <funderscore@postmarketos.org>","Date":"Wed, 08 Apr 2026 16:34:57 +0000","Subject":"[PATCH v2 2/2] cmd: bootmenu: ANSI_CLEAR_LINE before entry name","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"7bit","Message-Id":"<20260408-ui-cosmetics-v2-2-721dc6d2116a@postmarketos.org>","References":"<20260408-ui-cosmetics-v2-0-721dc6d2116a@postmarketos.org>","In-Reply-To":"<20260408-ui-cosmetics-v2-0-721dc6d2116a@postmarketos.org>","To":"u-boot@lists.denx.de","Cc":"Tom Rini <trini@konsulko.com>, Quentin Schulz <quentin.schulz@cherry.de>,\n \"Kory Maincent (TI.com)\" <kory.maincent@bootlin.com>,\n Simon Glass <sjg@chromium.org>,\n Mattijs Korpershoek <mkorpershoek@kernel.org>,\n Anshul Dalal <anshuld@ti.com>, Heinrich Schuchardt <xypron.glpk@gmx.de>,\n Martin Schwan <m.schwan@phytec.de>, David Zang <davidzangcs@gmail.com>,\n Sam Protsenko <semen.protsenko@linaro.org>,\n Christian Marangi <ansuelsmth@gmail.com>,\n Ferass El Hafidi <funderscore@postmarketos.org>","X-Developer-Signature":"v=1; a=openpgp-sha256; l=664;\n i=funderscore@postmarketos.org; h=from:subject:message-id;\n bh=ZO2JsmAmqHbIkWnJKKXuw+gTS8UrXS09vWJIeC+Yg2M=;\n b=owEBbQKS/ZANAwAKAYSvy9DXiZoDAcsmYgBp1oPMenyXqQT31OM3eAK/0vhsrS/AwcmwQH2nc\n w6QRJJV6J+JAjMEAAEKAB0WIQQDAbw3+1VcrP15i+6Er8vQ14maAwUCadaDzAAKCRCEr8vQ14ma\n A57LD/9qjzSHkEAb4everDev3yToMxOGkZtigkaJsSQ62W4dKoITLE8qrFkJbi8NpTrIww8Wz0o\n gsoUGzhdHgd/pH8EqUiCfgUTiH4EqQCS+z5lSlHNSLnsh2xOy5tFSWtZC8tZ3w7m3SlqmVhUdyO\n c/WQel7aiIuF0LOJ+O3zlY0460zVw7bNKS9N9kyx8wx8EmaDP5v9oKW9hJ6HWJLKD/mLBHYIJk9\n U3OLHZDkOqcbno+YhAz6BZJ93IQBgQATwSiIxKSnV36Y3iCYc8Mgzo3tRdtQBRzMjnX8X9eZDgB\n aMyHru9StEw2kz+rXdLVhEAvQjLZ7Oe8NdarKxZnCEfAj5vQZWa7tbaIzeIdQ2hMKfQaGb5+2E0\n ah4McpOj1e3RP6cpasp5RqdbQha3xUSgh/PqP2xHyUV4VVrd4cUNubSjK9yECkjJJ79IGqeIv3n\n 8E+01q9Yz/rCXvOFZcmSdsdYb5xp/AKik1QFBxT5mLkECRQtI5h+FJmZfT3t64qO7xrxUpzsgeR\n aQSQMYpGoPNv6ChM6k0QlQFTlfx92fQ0IbRhPHLzMOm01bR7aGoEgn7BpGOQBYCOfbksscuh+RC\n xgj0z0SxYWiz/ECKd2KYWDBbJsSMfM4Ye72nVSxKyLho0JUUsIDeAN5DLyNQst2x7WvccCzq02j\n Bp/PqEdT4GXAxNw==","X-Developer-Key":"i=funderscore@postmarketos.org; a=openpgp;\n fpr=0301BC37FB555CACFD798BEE84AFCBD0D7899A03","X-Migadu-Flow":"FLOW_OUT","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"},"content":"This has the effect of highlighting the whole entry when it is selected\n(on vidconsole), which makes it consistent with eficonfig too.\n\nSigned-off-by: Ferass El Hafidi <funderscore@postmarketos.org>\n---\n cmd/bootmenu.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/cmd/bootmenu.c b/cmd/bootmenu.c\nindex d3108778c6f..a07fea49322 100644\n--- a/cmd/bootmenu.c\n+++ b/cmd/bootmenu.c\n@@ -76,7 +76,7 @@ static void bootmenu_print_entry(void *data)\n \tif (reverse)\n \t\tputs(ANSI_COLOR_REVERSE);\n \n-\tprintf(\"%s\", entry->title);\n+\tprintf(ANSI_CLEAR_LINE \"%s\", entry->title);\n \n \tif (reverse)\n \t\tputs(ANSI_COLOR_RESET);\n","prefixes":["v2","2/2"]}