From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oo1-xc2a.google.com (mail-oo1-xc2a.google.com [IPv6:2607:f8b0:4864:20::c2a]) by sourceware.org (Postfix) with ESMTPS id 120B73858C27 for ; Thu, 14 Sep 2023 08:06:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 120B73858C27 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oo1-xc2a.google.com with SMTP id 006d021491bc7-573ac2fa37aso382475eaf.3 for ; Thu, 14 Sep 2023 01:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694678768; x=1695283568; darn=sourceware.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=cLTw/C4092KATtyGVG0xwQQrtcs/zPPBwnKidumNzSY=; b=ibTj+dVTkF4SafP9NBRPxyQp5kKiH8uqKEykHT9tae7TmOjyKyuoEDv0u9eV/BPEWp LONLXBLohvY0BXeeR8m6S5PfcCT3Tza9GRKgzW2Sbsgn7x0oE0WLbfaKmQbwcddkP8jJ PEucFK8JZfWvEVVKEsEt0FHP19YW3u/c/URTbF+0qh6jcqytelx7d2T693iG9wYmjt17 Sl1F/5bKWpEZ+rBnUVnSbxIHaGYTixHCf5kEBouYYZRie/U2J6a345r17Nfeu2i0ps9I JLT2XBp4UTKZaAkCmlATkEAfR7sRRbwQ1+XDcOp28k8Hgxb8TWSFe+hijLWS1cOQSzKZ FDFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694678768; x=1695283568; 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=cLTw/C4092KATtyGVG0xwQQrtcs/zPPBwnKidumNzSY=; b=EG9l5jXtNbXed0ywHTBXJGQR90HdXsnpj4ks87ig/xs90ZGadocTXfIK8g5aubUcBx JlSnEnI/hMYcpF7Qw5L3N0NBcHFaQYoDdbru+GHyY8iLBo+XmZ/GuQ/UJ6DGIkvpUV9k lgS5eIrOzh+iB8mUxBUh5/GmnF5nuFQfb4X00qCCRynfZazt/j1hQy+MBZRKuXmbG1G1 cKq1igmNgL7moI0ww2bgQy6u23f6T8YaG/r2tRK5SncAUH4UbDSuJRPLjH6/WA7cfzMG V0UBU6MyGWaD4dsukTwFwTVNzo2EzD1q0JVtqN4b5JQPymQASv4PZIuiCRN+3qlbhkK1 e80g== X-Gm-Message-State: AOJu0YzJjr6hVMOM8NzJEC5/wDQR8McZ9eW9OHGThHZuChR2M8asT8+C JIzRhzNk4cdgtHJAZ5uGYf9sKjEHqlwqooEQ9uI= X-Google-Smtp-Source: AGHT+IEoX1tZlG2LUzSNrPigotyz1SeHE9xhcizUWy7kzH7us+ZgC01ony8m6zA3JobsAS3uTPkfkOsRk5T//7ElQsk= X-Received: by 2002:a05:6870:7d18:b0:1d6:3d6a:fb37 with SMTP id os24-20020a0568707d1800b001d63d6afb37mr473833oab.46.1694678768260; Thu, 14 Sep 2023 01:06:08 -0700 (PDT) MIME-Version: 1.0 References: <838rhnawf9.fsf@gnu.org> <87ilgltt15.fsf@redhat.com> In-Reply-To: From: strager Date: Thu, 14 Sep 2023 01:05:57 -0700 Message-ID: Subject: Re: [PATCH] gdb/tui: add 'set tui mouse-events off' to restore mouse selection To: Pedro Alves , Eli Zaretskii , gdb-patches@sourceware.org Cc: Andrew Burgess Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: It looks like my patch hasn't landed in GDB. Did it slip through the cracks= ? On Thu, Feb 2, 2023 at 11:59=E2=80=AFAM strager wro= te: > > On Thu, Feb 2, 2023 at 11:50 AM Pedro Alves wrote: > > I noticed the new command doesn't have a "set" callback, so I guess thi= s means > > that you have to disable and re-enable the TUI for the setting to take = effect? > > Or does it take effect immediately somehow? > > I tested it and it does take effect immediately. (I was surprised > too.) I think it's because you enter readline after you type the 'set' > command, and the mousemask code runs every readline.