[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #8017] Add mainwindow Clear Command Window
From: |
John W. Eaton |
Subject: |
[Octave-patch-tracker] [patch #8017] Add mainwindow Clear Command Window implementation |
Date: |
Sat, 13 Apr 2013 22:25:13 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20100101 Firefox/10.0.11 Iceweasel/10.0.11 |
Follow-up Comment #2, patch #8017 (project octave):
After pushing, I noticed that it clears the window but leaves a blank line
above the prompt, unlike running clc from the command line. Hmm. I guess
that is the effect of jumping out of readline to force a redisplay? Then I
noticed that the command_editor::interrupt function has a bad side effect. If
there is some input already present on the line, it will be evaluated. Since
that can be an incomplete line, you can end up with a syntax error when all
you want to do is clear the screen or step in the debugger.
Maybe there is another way we can do this job.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?8017>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/