From: Pedro Alves <pedro@palves.net>
To: Hannes Domani <ssbssa@yahoo.de>,
Hannes Domani via Gdb-patches <gdb-patches@sourceware.org>,
Tom Tromey <tom@tromey.com>
Subject: Re: [PATCHv3 1/2] Initial TUI mouse support
Date: Fri, 4 Jun 2021 17:23:50 +0100 [thread overview]
Message-ID: <8a7d0e0c-8ac8-6f75-6049-24baa67c38cb@palves.net> (raw)
In-Reply-To: <899939356.5239586.1622822763347@mail.yahoo.com>
On 2021-06-04 5:06 p.m., Hannes Domani wrote:
> Am Freitag, 4. Juni 2021, 17:20:44 MESZ hat Pedro Alves <pedro@palves.net> Folgendes geschrieben:
>>
>> Don't we need a NEWS entry, though?
>
> I never think of NEWS.
>
> See at the end what I came up with, maybe the phrasing could need some
> improvement.
>
>
> From 95c7890b45cbfb80682451962f5e57f3eef95a03 Mon Sep 17 00:00:00 2001
> From: Hannes Domani <ssbssa@yahoo.de>
> Date: Fri, 4 Jun 2021 17:58:15 +0200
> Subject: [PATCH] Mention mouse support in NEWS
>
> gdb/ChangeLog:
>
> 2021-06-04 Hannes Domani <ssbssa@yahoo.de>
>
> * NEWS: Mention mouse support.
> ---
> gdb/NEWS | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/gdb/NEWS b/gdb/NEWS
> index ab678acec8b..8c876e71e63 100644
> --- a/gdb/NEWS
> +++ b/gdb/NEWS
> @@ -75,6 +75,9 @@
> and "-eiex" that allow options (that would normally appear in a
> gdbearlyinit file) to be passed on the command line.
>
> +* TUI windows now support mouse actions. The mouse wheel scrolls the
> + appropriate window, and Python TUI windows can receive mouse click events.
> +
I think you should (also or in alternative) mention the Python bits in the "Python API" section.
It would be nice if we had a section in the manual for the TUI mouse too. I suspect we'll end up
with some settings/knobs to configure mouse support, and that'd be the place to add them.
We can start small, IMO. How about this?
From: Pedro Alves <pedro@palves.net>
Date: 2021-06-04 17:12:41 +0100
Document TUI mouse support in the manual
gdb/doc/ChangeLog:
yyyy-mm-dd Pedro Alves <pedro@palves.net>
* gdb.texinfo (TUI): <TUI Mouse Support>: New node/section.
---
gdb/doc/gdb.texinfo | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 90d827a50e7..486df2ec5f4 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -28372,6 +28372,7 @@ enable} or @kbd{C-x C-a}. @xref{TUI Commands, ,TUI Commands}, and
* TUI Overview:: TUI overview
* TUI Keys:: TUI key bindings
* TUI Single Key Mode:: TUI single key mode
+* TUI Mouse Support:: TUI mouse support
* TUI Commands:: TUI-specific commands
* TUI Configuration:: TUI configuration variables
@end menu
@@ -28661,6 +28662,13 @@ If @value{GDBN} was built with Readline 8.0 or later, the TUI
SingleKey keymap will be named @samp{SingleKey}. This can be used in
@file{.inputrc} to add additional bindings to this keymap.
+@node TUI Mouse Support
+@section TUI Mouse Support
+@cindex TUI mouse support
+
+The TUI supports mouse actions. You can click on TUI windows to
+select them, and the mouse wheel scrolls the appropriate window.
+
@node TUI Commands
@section TUI-specific Commands
@cindex TUI commands
next prev parent reply other threads:[~2021-06-04 16:24 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210603151453.15248-1-ssbssa.ref@yahoo.de>
2021-06-03 15:14 ` Hannes Domani via Gdb-patches
2021-06-03 15:14 ` [PATCHv3 2/2] Forward mouse click to python TUI window Hannes Domani via Gdb-patches
2021-06-03 17:16 ` Eli Zaretskii via Gdb-patches
2021-06-04 13:52 ` Tom Tromey
2021-06-04 13:51 ` [PATCHv3 1/2] Initial TUI mouse support Tom Tromey
2021-06-04 14:21 ` Hannes Domani via Gdb-patches
2021-06-04 15:20 ` Pedro Alves
2021-06-04 16:06 ` Hannes Domani via Gdb-patches
2021-06-04 16:23 ` Pedro Alves [this message]
2021-06-04 18:59 ` Eli Zaretskii via Gdb-patches
2021-06-04 18:57 ` Eli Zaretskii via Gdb-patches
2021-06-04 16:29 ` Pedro Alves
2021-06-04 16:48 ` Hannes Domani via Gdb-patches
2021-06-04 18:05 ` Joel Brobecker
2021-06-04 18:13 ` Simon Marchi via Gdb-patches
2021-06-04 18:39 ` Joel Brobecker
2021-06-04 20:31 ` Pedro Alves
2021-06-04 20:43 ` Pedro Alves
2021-06-04 21:15 ` Hannes Domani via Gdb-patches
2021-06-04 22:19 ` Pedro Alves
2021-06-10 18:44 ` Tom Tromey
2021-06-13 17:26 ` Pedro Alves
2021-06-18 15:01 ` Tom Tromey
2021-06-18 17:42 ` Pedro Alves
2021-06-04 18:46 ` Tom Tromey
2021-06-04 20:54 ` Pedro Alves
2021-06-04 23:48 ` Pedro Alves
2021-06-05 14:40 ` Hannes Domani via Gdb-patches
2021-06-06 5:46 ` Eli Zaretskii via Gdb-patches
2021-06-10 18:46 ` Tom Tromey
2021-06-11 11:02 ` Hannes Domani via Gdb-patches
2021-06-12 2:41 ` POC: Make the TUI command window support the mouse (Re: [PATCHv3 1/2] Initial TUI mouse support) Pedro Alves
2021-06-12 12:32 ` Hannes Domani via Gdb-patches
2021-06-12 18:08 ` Pedro Alves
2021-06-13 2:46 ` [PATCH v2] Make the TUI command window support the mouse Pedro Alves
2021-06-13 10:35 ` Eli Zaretskii via Gdb-patches
2021-06-13 17:29 ` Pedro Alves
2021-06-13 18:02 ` Eli Zaretskii via Gdb-patches
2021-06-13 18:13 ` Pedro Alves
2021-06-13 13:04 ` Hannes Domani via Gdb-patches
2021-06-13 17:25 ` [PATCH v3] " Pedro Alves
2021-06-13 17:55 ` Hannes Domani via Gdb-patches
2021-06-13 17:59 ` Pedro Alves
2021-06-17 11:04 ` [PUSHED v4] " Pedro Alves
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=8a7d0e0c-8ac8-6f75-6049-24baa67c38cb@palves.net \
--to=pedro@palves.net \
--cc=gdb-patches@sourceware.org \
--cc=ssbssa@yahoo.de \
--cc=tom@tromey.com \
/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