Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp968638rdd; Wed, 10 Jan 2024 05:06:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IFGe9eoebDZi9U+yKX8V3yqkOYnjeiZ/vA/t9KSZODsiy1A5/iixZliCn7rikUaavSSynIG X-Received: by 2002:a9d:76d7:0:b0:6db:fdb1:ea48 with SMTP id p23-20020a9d76d7000000b006dbfdb1ea48mr646191otl.52.1704891967038; Wed, 10 Jan 2024 05:06:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704891967; cv=none; d=google.com; s=arc-20160816; b=R7DiTwo0rNuQgITpjEiOMDLHwU+5LJPQu1X6MbY/lDRX186TweTENu2GW3QicL0W0v Yjev7Yu3LLZXVCLwWzlC/+Q3394s2OpOAVflTt/TgfOjaoP/jhkib5kUH8TSvexU3yQ+ Kx08Nj8H3BOWcOM4gynpEiLes7kBNlZywj6/8gBuAgDTh6YK55Iutc70woFZkPW3ssLF nj23+s1btkDG0DeAhPFJ7ZhDSJDTfqjMyS9rmxqPCej0eJ0SZZ2M9hn2UwncEmHW13oH ouSt/2fO7veGfiYpuwoYQrAHp9aL78fRsOimcSQOf9UTffMvPdPO1MKXBKSTwwhkqojx +kWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=r3fYiUXc8cxYAbqnzO/jzfI53DkZ5gWWk2eUOw5iFG0=; fh=8hKR3038ha0hYjh0Ru6KIg9M6BfBmurJX3BksatOPjo=; b=fMRY8sY7e+3SrGEPUtA2i7opJij0lJZ5AXipCol0JysykfU+TXf453GTmYPyaKPZs3 8rv2RABoTzVSl8+rmwtSaVZttlHd7conoISuM0trEpeeU0x5pjSStF9QXP74Aj7j6W0J aLkghQKeUFf+28UrXoOnCBG3/FQU/v6dJgjapbnDipjb1r6hiCV8lXmvMqAtETulcuxW VB3GcmUXrbEsgztu50y1DzFwnIzDXqpOtOOFxPX0nm7bhRdlcdQwGk4Ymc1KYTV3oPOY OTUrAfk/UUqRDNmAgWyWusVZv8/lgqEP4FKQoPbYzQv5qXAq6X/TgmOFkGwKfNWZXNEq f3TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mXWcgmJE; spf=pass (google.com: domain of linux-kernel+bounces-22210-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22210-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id s12-20020ab0270c000000b007cd5ebe10b4si541739uao.59.2024.01.10.05.06.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 05:06:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22210-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mXWcgmJE; spf=pass (google.com: domain of linux-kernel+bounces-22210-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22210-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A92EF1C221AF for ; Wed, 10 Jan 2024 13:06:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C3AF34879F; Wed, 10 Jan 2024 13:05:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="mXWcgmJE" Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5FB3348790 for ; Wed, 10 Jan 2024 13:05:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-50ea98440a7so4052940e87.1 for ; Wed, 10 Jan 2024 05:05:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1704891952; x=1705496752; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=r3fYiUXc8cxYAbqnzO/jzfI53DkZ5gWWk2eUOw5iFG0=; b=mXWcgmJET9cdsw54wZbtBpfD523o75hayqx4fcRd0lMFNxElQwh3VBOcfMxo2g8o4x gvnPXiOV/o4TkEaWMzFwukbzFG7KFtt1gCDArWQiWJGlorEVLWVQSUSVJclmV953Sqay G07QWgYXdwD8cnL4RQf/d/CwsH5zuLQAG//sY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704891952; x=1705496752; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=r3fYiUXc8cxYAbqnzO/jzfI53DkZ5gWWk2eUOw5iFG0=; b=kaPUgs8CU13d7q4LM7+Px1YB9xkfqtbQ8a/9gbjY0kKJEXhfJM5JRtnRBDKjHb7RMM VSh2TsjqiHmXP3IxZAL0G3gDbqUSGBY6NeT4ordGQREkiKVlFPOkwWLCfT2gJz5NSlyz tFkI1MuqISgzlSMHxmOlvc2IiEXoxiUJaEcdphCYzlVaTYrkFVW6ATq+VWysSDPgcPkE YksdDH++UGYkiUArbQEJ/oAOjALUAnTEHF+rDWe54uxGz5FKGaGTmjqIs5b5z2mn8bTb 95/X3rWIwEdBALKsQxjwb2U0Ne+ekBEb/fxdCQomQeUmT78s9ZZJsuGMufbcNZ3yVWHM jqng== X-Gm-Message-State: AOJu0YykxCUnKTeXSoOM+52qsii+ocjIbO75ocvsHWRrpGP3Pj9fvluS 5CZtxtaLsWXwybiG90cg8qTphTatO483WGRMvanpqvqiLTIj X-Received: by 2002:ac2:410a:0:b0:50e:80d3:55f4 with SMTP id b10-20020ac2410a000000b0050e80d355f4mr234568lfi.131.1704891951998; Wed, 10 Jan 2024 05:05:51 -0800 (PST) Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com. [209.85.221.51]) by smtp.gmail.com with ESMTPSA id ch19-20020a170906c2d300b00a2b091e93aesm2048007ejb.115.2024.01.10.05.05.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jan 2024 05:05:51 -0800 (PST) Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-3373a30af67so3829489f8f.0 for ; Wed, 10 Jan 2024 05:05:51 -0800 (PST) X-Received: by 2002:adf:f604:0:b0:336:6422:708d with SMTP id t4-20020adff604000000b003366422708dmr349222wrp.116.1704891950857; Wed, 10 Jan 2024 05:05:50 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231228054630.3595093-1-tfiga@chromium.org> In-Reply-To: From: Tomasz Figa Date: Wed, 10 Jan 2024 22:05:33 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kconfig: menuconfig: Make hidden options show as dim To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Jesse Taube Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Dec 29, 2023 at 1:10=E2=80=AFAM Masahiro Yamada wrote: > > On Thu, Dec 28, 2023 at 2:46=E2=80=AFPM 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/uti= l.c#L26 Best regards, Tomasz