octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: small __uiobject_draw_axes__ bug fix


From: John W. Eaton
Subject: Re: small __uiobject_draw_axes__ bug fix
Date: Wed, 28 Feb 2007 15:58:52 -0500

On 23-Feb-2007, Daniel J Sebald wrote:

| As for the flushing of the output thing, try copying the file above
| to a local directory and apply the first patch (run a fresh octave)
| and the second patch (run a fresh octave).  The first version I get 
| 
| octave:1> plot([0:30])
| octave:2> plot([0:30])
| ans = hi
| xautoscale =  1
| octave:3>

I think the attached patch will make things work as you expect.

Thanks,

jwe

src/ChangeLog:

2007-02-28  John W. Eaton  <address@hidden>

        * input.cc (interactive_input): Also call flush_octave_stdout
        after calling drawnow.


Index: src/input.cc
===================================================================
RCS file: /cvs/octave/src/input.cc,v
retrieving revision 1.176
diff -u -u -r1.176 input.cc
--- src/input.cc        16 Feb 2007 08:10:54 -0000      1.176
+++ src/input.cc        28 Feb 2007 20:14:11 -0000
@@ -221,6 +221,8 @@
     {
       feval ("drawnow");
 
+      flush_octave_stdout ();
+
       // We set Vdrawnow_requested to false even if there is an error
       // in drawnow so that the error doesn't reappear at every prompt.
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]