public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/31157] New: Python TUI window should automatically handle scrolling and clipping
@ 2023-12-13 3:58 tromey at sourceware dot org
2023-12-13 15:03 ` [Bug python/31157] " ssbssa at sourceware dot org
0 siblings, 1 reply; 2+ messages in thread
From: tromey at sourceware dot org @ 2023-12-13 3:58 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31157
Bug ID: 31157
Summary: Python TUI window should automatically handle
scrolling and clipping
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
I tried writing a TUI stack window in Python.
This wasn't too bad overall, but it would be a lot simpler
if the Python TUI code could automatically handle clipping
text (as opposed to letting it wrap, which happens now),
and also scrolling.
This could be an option on TuiWindow so that window
implementations could request this behavior.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug python/31157] Python TUI window should automatically handle scrolling and clipping
2023-12-13 3:58 [Bug python/31157] New: Python TUI window should automatically handle scrolling and clipping tromey at sourceware dot org
@ 2023-12-13 15:03 ` ssbssa at sourceware dot org
0 siblings, 0 replies; 2+ messages in thread
From: ssbssa at sourceware dot org @ 2023-12-13 15:03 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31157
Hannes Domani <ssbssa at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ssbssa at sourceware dot org
--- Comment #1 from Hannes Domani <ssbssa at sourceware dot org> ---
The TextWindow class of my locals TUI window [1] took care of this kind of
stuff, I just have to give it a list of lines, I use this as base for all my
TUI windows.
But if the TuiWindow itself did all this, it would be nice too I guess.
[1] https://sourceware.org/pipermail/gdb-patches/2021-June/179539.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-12-13 15:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-13 3:58 [Bug python/31157] New: Python TUI window should automatically handle scrolling and clipping tromey at sourceware dot org
2023-12-13 15:03 ` [Bug python/31157] " ssbssa at sourceware dot org
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).