public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: strager <strager.nds@gmail.com>
To: Pedro Alves <pedro@palves.net>
Cc: Andrew Burgess <aburgess@redhat.com>,
	Eli Zaretskii <eliz@gnu.org>,
	gdb-patches@sourceware.org
Subject: Re: [PATCH] gdb/tui: add 'set tui mouse-events off' to restore mouse selection
Date: Thu, 2 Feb 2023 11:59:07 -0800	[thread overview]
Message-ID: <CAC-ggsFFFV2WZzw9cxVjmWQoW_RKbmvv=_CDuGob3Gg4WCA+hQ@mail.gmail.com> (raw)
In-Reply-To: <f494b233-31bd-4278-a55f-8f3234d40eb7@palves.net>

On Thu, Feb 2, 2023 at 11:50 AM Pedro Alves <pedro@palves.net> wrote:
> I noticed the new command doesn't have a "set" callback, so I guess this 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.

  reply	other threads:[~2023-02-02 19:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-28  0:42 strager
2023-01-28  8:35 ` Eli Zaretskii
2023-02-01  8:35   ` strager
2023-02-01 12:41     ` Eli Zaretskii
2023-02-01 13:27     ` Andrew Burgess
2023-02-02  1:08       ` strager
2023-02-02  7:18         ` Eli Zaretskii
2023-02-02 19:50         ` Pedro Alves
2023-02-02 19:59           ` strager [this message]
2023-09-14  8:05             ` strager
2023-09-20 15:39               ` Pedro Alves
2023-02-02  9:33 ` Lancelot SIX
2023-02-02 11:11   ` strager

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAC-ggsFFFV2WZzw9cxVjmWQoW_RKbmvv=_CDuGob3Gg4WCA+hQ@mail.gmail.com' \
    --to=strager.nds@gmail.com \
    --cc=aburgess@redhat.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro@palves.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).