diff options
author | Tom Tromey <tom@tromey.com> | 2020-09-27 20:30:30 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-09-27 20:30:31 -0600 |
commit | 149830c137f351cb41888f87493cc42a72dbeac7 (patch) | |
tree | af25aff2c3a27b1a9b38fbee4bfa73387d2f3f69 /gdb/ChangeLog | |
parent | 5f278258ccae6a666c72de709a3171975fbaeb05 (diff) | |
download | gdb-149830c137f351cb41888f87493cc42a72dbeac7.zip gdb-149830c137f351cb41888f87493cc42a72dbeac7.tar.gz gdb-149830c137f351cb41888f87493cc42a72dbeac7.tar.bz2 |
Use an inner window in tui_py_window
This changes tui_py_window to create an inner curses window. This
greatly simplifies tui_py_window::output, beacuse it no longer needs
to be careful to avoid overwriting the window's border. This patch
also makes it a bit easier for a later patch to rewrite
tui_copy_source_line.
gdb/ChangeLog
2020-09-27 Tom Tromey <tom@tromey.com>
* python/py-tui.c (class tui_py_window) <refresh_window>: New
method.
<erase>: Update.
<cursor_x, cursor_y>: Remove.
<m_inner_window>: New member.
(tui_py_window::rerender): Create inner window.
(tui_py_window::output): Write to inner window.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b60312c..f2d04c2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +2020-09-27 Tom Tromey <tom@tromey.com> + + * python/py-tui.c (class tui_py_window) <refresh_window>: New + method. + <erase>: Update. + <cursor_x, cursor_y>: Remove. + <m_inner_window>: New member. + (tui_py_window::rerender): Create inner window. + (tui_py_window::output): Write to inner window. + 2020-09-26 Gareth Rees <grees@undo.io> (tiny change) PR python/26586 |