aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui-file.c')
-rw-r--r--gdb/tui/tui-file.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/tui/tui-file.c b/gdb/tui/tui-file.c
index 7878190..df6f503 100644
--- a/gdb/tui/tui-file.c
+++ b/gdb/tui/tui-file.c
@@ -1,5 +1,5 @@
/* UI_FILE - a generic STDIO like output stream.
- Copyright (C) 1999-2024 Free Software Foundation, Inc.
+ Copyright (C) 1999-2025 Free Software Foundation, Inc.
This file is part of GDB.
@@ -21,25 +21,25 @@
#include "tui/tui-command.h"
void
-tui_file::puts (const char *linebuffer)
+tui_file::do_puts (const char *linebuffer)
{
tui_puts (linebuffer);
if (!m_buffered)
- tui_refresh_cmd_win ();
+ tui_cmd_win ()->refresh_window ();
}
void
-tui_file::write (const char *buf, long length_buf)
+tui_file::do_write (const char *buf, long length_buf)
{
tui_write (buf, length_buf);
if (!m_buffered)
- tui_refresh_cmd_win ();
+ tui_cmd_win ()->refresh_window ();
}
void
tui_file::flush ()
{
if (m_buffered)
- tui_refresh_cmd_win ();
- stdio_file::flush ();
+ tui_cmd_win ()->refresh_window ();
+ escape_buffering_file::flush ();
}