Re: Horizontal Scrolling not working in TUI Regs window
Tom Tromey <[email protected]> Thu, 12 Mar 2026 11:32:23 -0600
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
>>>>> Amit Pandey via Gdb <[email protected]> writes: > I’m writing to clarify the intended behavior of the TUI “registers” window > and to ask whether horizontal scrolling (or another way to view full wide > registers) can be supported. > 1) Is the lack of horizontal scrolling in the TUI “registers” window > intentional (by design), or is it considered a missing feature/bug? It is probably just a historical accident, because when this window was first written there weren't readily available machines with wide vector registers. > 2) If this is by design, would the project consider an enhancement to: > - Enable horizontal scrolling for the registers window; or > - Provide a dedicated “expanded register” TUI window (or command) that > shows the selected register in a scrollable region? I think scrolling would be completely fine. Less sure about the other thing but I guess it would depend on the details. Occasionally there's been talk of having a local variable / expression display (TBH you'd think this would have happened decades ago). > 3) Is there a recommended workflow today (beyond `info register` and > widening the terminal) for interactively viewing full wide register > contents in TUI? If you are desperate you can use 'display' to automatically show the register(s) you're interested in. If you're really super desperate and/or adventurous you could try writing your own register-like TUI window in Python. One thing you could do is file this in bugzilla. However I should warn you that this isn't a guarantee that anybody will implement the feature. thanks, Tom