Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp402524rdb; Tue, 16 Jan 2024 04:08:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4O6KW7eiNqdKAoTSQnB/710amkKPDfYIj77v7g5M2FsABrgnieVrV8jOETH0e92d773fC X-Received: by 2002:a17:906:a3ce:b0:a2c:864b:1112 with SMTP id ca14-20020a170906a3ce00b00a2c864b1112mr3556476ejb.27.1705406938943; Tue, 16 Jan 2024 04:08:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705406938; cv=none; d=google.com; s=arc-20160816; b=C0PuRdEL6dNqpjRAHIuImEcprhjHdt0T/vkqNwFMdAuITGKUi1oyo04rx7jRQfmFLM 3j3h8hfNHips9pfam2v0KA0x/h6XRADnXlHNkniGHk3iFZssm4gWVUG9qMIh8C5MXDq5 Au+LjE9n0MI1UoPhc0Uz9JEO9UwZcB+qTid+9ORBesrA9q7LbNqoMKItV5ITl9wrVxY8 9hSSaOF8ramEnCbwBOfcE1Eyear+VkVeXhjy/u3+v3h9CseBO5qx14dsPpXvpnHH0QvW SaswqfnG17zxe6H8e2CPjEOJk31CEXLQ5NRSaBJbollci04aajB3KlHoQQF5zMhtzmky sxnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GlFMs5IWUN4iJBMqD+eqhdUYQb8z6Y9JopHzCmDXH5o=; fh=R1js7WuRe2QxZ6cS1Wd+xB76+OhUY797Q5+ZQmhO8bU=; b=tGjWxlNODL0pYh73GxQcfIsNM/wdVS5Ldoa+TiiwUqoN4azK0H6pBvglWr8gK1L4LA wQMDU6bpBTcp6Y5FxlwAEVWkGJToUh6xfOwD/WChxcR3U4/AzJmFSEitrmbMCfa2Bqls /KqyrENBFggCeGTEBHO5i6LpTx/WJ4L48hsnCeOa1IQOYTE0gLr8qBCKkmgz5VW5GS+F /EgkiOCwZBQCVzfTWUdHKErhgqjqVLPG912Pua9FsUPqfH36NAExu42v5fjtnm6AK51B PPwUSOfMjGNWpdipQyY8JXv9wAamtYIH1vrK6CBMK1E9aobh5bcl7LblljS/ZcAWUiCh Sc5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@avm.de header.s=mail header.b="b/0aKTBh"; spf=pass (google.com: domain of linux-kernel+bounces-27363-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27363-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=avm.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id n26-20020a1709062bda00b00a2d5a7e1f11si2532752ejg.663.2024.01.16.04.08.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 04:08:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27363-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@avm.de header.s=mail header.b="b/0aKTBh"; spf=pass (google.com: domain of linux-kernel+bounces-27363-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27363-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=avm.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 88B741F23BAF for ; Tue, 16 Jan 2024 12:08:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F5301BC3E; Tue, 16 Jan 2024 12:08:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=avm.de header.i=@avm.de header.b="b/0aKTBh" Received: from mail.avm.de (mail.avm.de [212.42.244.119]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 547331BC37; Tue, 16 Jan 2024 12:08:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=avm.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=avm.de Received: from mail-auth.avm.de (unknown [IPv6:2001:bf0:244:244::71]) by mail.avm.de (Postfix) with ESMTPS; Tue, 16 Jan 2024 13:01:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=avm.de; s=mail; t=1705406464; bh=LTvkD50jnbDyC8Lwck8C4IOhXUM+7Ro962nBVa5evZk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=b/0aKTBheQflYtrNmb+bkO8c6Unq4RO+G+asjb4jdzprQvi3LMBjwCJFZFt6N73GD GgZ0kGZI6ED/G+Bt7XQfrSEIlTAT/tGZid0ZPcVilfK80xlTdf6geykExZp+v9cI9O LzyH/A/AOeI6X6of0RHOix6IpTmcuQ1Ys2sw4MTs= Received: from buildd.core.avm.de (buildd-sv-01.avm.de [172.16.0.225]) by mail-auth.avm.de (Postfix) with ESMTPA id 6F19380397; Tue, 16 Jan 2024 13:01:04 +0100 (CET) Received: from reykjavik.ads.avm.de (unknown [172.17.89.91]) by buildd.core.avm.de (Postfix) with ESMTPS id 54D51180C48; Tue, 16 Jan 2024 13:01:04 +0100 (CET) Date: Tue, 16 Jan 2024 13:01:01 +0100 From: Nicolas Schier To: Masahiro Yamada Cc: Tomasz Figa , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Jesse Taube Subject: Re: [PATCH] kconfig: menuconfig: Make hidden options show as dim Message-ID: References: <20231228054630.3595093-1-tfiga@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-purgate-ID: 149429::1705406464-FCD755FF-BEEFE864/0/0 X-purgate-type: clean X-purgate-size: 2232 X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate: error On Tue, Jan 16, 2024 at 07:58:05PM +0900, Masahiro Yamada wrote: > On Mon, Jan 15, 2024 at 2:04 PM Tomasz Figa wrote: > > > > On Sat, Jan 13, 2024 at 8:23 PM Masahiro Yamada wrote: > > > > > > On Wed, Jan 10, 2024 at 10:05 PM Tomasz Figa wrote: > > > > > > > > On Fri, Dec 29, 2023 at 1:10 AM Masahiro Yamada wrote: > > > > > > > > > > On Thu, Dec 28, 2023 at 2:46 PM Tomasz Figa wrote: > > > > > > > > > > > > When hidden options are toggled on (using 'z'), the number of options > > > > > > on the screen can be overwhelming and may make it hard to distinguish > > > > > > between available and hidden ones. Make them easier to distinguish by > > > > > > displaying the hidden one as dim (using the A_DIM curses attribute). > > > > > > > > > > > > Signed-off-by: Tomasz Figa > > > > > > > > > > > > > > > > > > > > Do you think this is useful? > > > > > > > > > > This changes the color only when you select a hidden item. > > > > > > > > > > > > > > > For unselected items, you cannot distinguish hidden ones, > > > > > as A_DIM has no effect to black text. > > > > > > > > > > > > > > > > > > Hmm, are you sure about that? For me it seems to dim the text. it > > > > seems to be also used in the existing code for dlg.button_inactive.atr > > > > of the mono theme: > > > > > > > > https://elixir.bootlin.com/linux/latest/source/scripts/kconfig/lxdialog/util.c#L26 > > > > > > > > > > > > Then, your code works only on the mono theme. > > > (when your terminal does not support color, or > > > "MENUCONFIG_COLOR=mono make menuconfig") > > > > > > > No, that's not what I meant. It works for me for all themes, see the > > screenshot at https://postimg.cc/sBsM0twT . The terminal is tmux > > inside hterm (which in turn is supposed to be compatible with xterm). > > I guess I can test a couple of different terminals. > > > > In which terminal is it not working for you? > > > I use gnome-terminal. > The disto is Ubuntu 23.10 I see the same behaviour as Masahiro described with foot 1.13.1 on Debian 12. Kind regards, Nicolas