From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ToJ1JGnpAmNgRisAWB0awg (envelope-from ) for ; Sun, 21 Aug 2022 22:26:49 -0400 Received: by simark.ca (Postfix, from userid 112) id 86AD31E4A7; Sun, 21 Aug 2022 22:26:49 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=O3Fk+u+s; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 9E5FA1E21F for ; Sun, 21 Aug 2022 22:26:43 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1CF5A3856DC2 for ; Mon, 22 Aug 2022 02:26:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1CF5A3856DC2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1661135200; bh=rH8tRUvsX5cd0IbBsjwTA0DQze4ud7BxjbLPK3n0Rxg=; h=Date:To:In-Reply-To:Subject:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=O3Fk+u+sVMu9rmrEl9rCFe1hTavbNQHwr/KMsAIZoJTDOGbiUL2IM1yI/5nLmHTZd 9igyVa+OcK/jY15520tbitTqkpIolhT5wiwweARVIfebgoQhvWjqzj1n8y/5dwHCDF 8sDIazLGuPzsidklNO3tA045S9MX9kNJnKTKfBPE= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 282D5385AC20 for ; Mon, 22 Aug 2022 02:26:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 282D5385AC20 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPx8v-0000ZM-1j; Sun, 21 Aug 2022 22:26:21 -0400 Received: from [87.69.77.57] (port=1223 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPx8u-0004wo-MF; Sun, 21 Aug 2022 22:26:20 -0400 Date: Mon, 22 Aug 2022 05:26:22 +0300 Message-Id: <83edx9au9d.fsf@gnu.org> To: Andrei Pikas In-Reply-To: <5c28f4cb-3ca6-6a3e-41b3-1fcc5d0afbfc@mail.api.win> (message from Andrei Pikas on Sun, 21 Aug 2022 23:09:16 +0300) Subject: Re: [PATCH v2] Add an option with a color type. References: <87zgg2ydhx.fsf@redhat.com> <20220820121917.11438-1-gdb@mail.api.win> <835yindr0c.fsf@gnu.org> <5c28f4cb-3ca6-6a3e-41b3-1fcc5d0afbfc@mail.api.win> X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Eli Zaretskii via Gdb-patches Reply-To: Eli Zaretskii Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > Date: Sun, 21 Aug 2022 23:09:16 +0300 > Cc: gdb-patches@sourceware.org > From: Andrei Pikas > > > how do we check that TrueColor is > > supported by the terminal, and what will happen if they aren't? > > We don't check that TrueColor is supported by the terminal, because we > don't use TrueColor by default. Thus, the user is responsible for > setting the colors supported by his terminal. This responsibility of the user should at least be documented. Probably together with some practical advice how to check that. Also, IMO we should make sure no catastrophe happens if the user decides incorrectly, and the result will be limited to somewhat messy display, nothing worse. Thanks.