dyn_waitbar_close.m: fix closing of waitbars under Octave
parent
001971bda6
commit
79ee6a5565
|
@ -4,7 +4,7 @@ function dyn_waitbar_close(h)
|
||||||
% octave and when console_mode=1
|
% octave and when console_mode=1
|
||||||
|
|
||||||
%
|
%
|
||||||
% Copyright (C) 2011-2017 Dynare Team
|
% Copyright (C) 2011-2021 Dynare Team
|
||||||
%
|
%
|
||||||
% This file is part of Dynare.
|
% This file is part of Dynare.
|
||||||
%
|
%
|
||||||
|
@ -22,7 +22,7 @@ function dyn_waitbar_close(h)
|
||||||
% along with Dynare. If not, see <https://www.gnu.org/licenses/>.
|
% along with Dynare. If not, see <https://www.gnu.org/licenses/>.
|
||||||
global options_
|
global options_
|
||||||
|
|
||||||
if isoctave || options_.console_mode
|
if options_.console_mode
|
||||||
clear dyn_waitbar;
|
clear dyn_waitbar;
|
||||||
diary on
|
diary on
|
||||||
fprintf('\n');
|
fprintf('\n');
|
||||||
|
|
Loading…
Reference in New Issue