diff options
author | Tom Tromey <tom@tromey.com> | 2024-06-29 10:07:20 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2024-09-07 14:23:04 -0600 |
commit | a35cc8ff85af39f571dcba2446ed47b6c65ddca9 (patch) | |
tree | c1f19696ae63265036d8896dfb91cccee3a2f9cc /gdb/tui/tui-command.c | |
parent | d3acf3d759d085df544687b39a0c2900d3117bf7 (diff) | |
download | gdb-a35cc8ff85af39f571dcba2446ed47b6c65ddca9.zip gdb-a35cc8ff85af39f571dcba2446ed47b6c65ddca9.tar.gz gdb-a35cc8ff85af39f571dcba2446ed47b6c65ddca9.tar.bz2 |
Remove tui_wrefresh
This removes tui_wrefresh, moving the code into refresh_window. We
remove tui_norefresh_window as well, because now the command window's
refresh_window has to do what tui_wrefresh previously did.
Diffstat (limited to 'gdb/tui/tui-command.c')
-rw-r--r-- | gdb/tui/tui-command.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/tui/tui-command.c b/gdb/tui/tui-command.c index b9bc19e..2060a36 100644 --- a/gdb/tui/tui-command.c +++ b/gdb/tui/tui-command.c @@ -57,7 +57,5 @@ tui_cmd_window::resize (int height_, int width_, int origin_x, int origin_y) void tui_refresh_cmd_win (void) { - WINDOW *w = tui_cmd_win ()->handle.get (); - - tui_wrefresh (w); + tui_cmd_win ()->refresh_window (); } |