From 367e8389cdce987574553fe80d2b77809f1fd52b Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 8 Sep 1998 12:12:59 +0000 Subject: [PATCH] Use stdout instead of stderr for hints output on xterm --- src/ChangeLog | 4 ++++ src/layout.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index fb98eb2dc..c2d9be1b8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +Tue Sep 8 13:10:32 1998 Pavel Roskin + + * layout.c: Use stdout instead of stderr in set_hintbar() + Mon Aug 31 12:40:29 1998 Pavel Machek * cmd.c: added view_file_cmd which asks user which file to view - diff --git a/src/layout.c b/src/layout.c index 5e12f7860..4a2a8194c 100644 --- a/src/layout.c +++ b/src/layout.c @@ -843,7 +843,8 @@ void set_hintbar(char *str) { #ifndef HAVE_X if (xterm_flag && xterm_hintbar) { - fprintf (stderr, "\33]0;mc - %s\7", str); + fprintf (stdout, "\33]0;mc - %s\7", str); + fflush (stdout); } else #endif {