Re: [PATCHv3 1/2] Initial TUI mouse support

Hannes Domani via Gdb-patches
2021-06-11T11:03:21Z

Am Donnerstag, 10. Juni 2021, 20:47:01 MESZ hat Tom Tromey <tom@tromey.com> Folgendes geschrieben:

> >>>>> "Hannes" == Hannes Domani via Gdb-patches <gdb-patches@sourceware.org> writes:
>
> Hannes> I imagine the same is true for mouse escape sequences.
> Hannes> So I would just disable the mouse when the command window has focus, but
> Hannes> what do you think?
>
> I think this is a good fallback to have, but it would be better if we
> could make it really work somehow.  The problem with doing this is that
> if the command window has focus, then things like clicking in the source
> to set a breakpoint will not work.

That would probably mean that keypad also has to be enabled when the
command window has focus.
I did a short test where I tried this, but then gdb crashed somewhere in
readline, and I stopped there, because I didn't want to debug readline code.

Hannes