Mercurial > octave
diff libinterp/corefcn/input.h @ 28707:f0a3f4527ba6 stable
respond to signals when readline is waiting for input (bug #54444)
* input.cc (internal_input_event_hook_fcn): Also call octave_quit.
Since we will always call octave_quit, don't remove self from
command_editor event hook list if input_sys no longer has hook
functions registered.
(Fadd_input_event_hook, Fremove_input_event_hook): Don't remove
internal_input_event_hook_fcn from command_editor event hook list if
input_sys no longer has hook functions registered.
(input_system::m_initialized): New data member.
(input_system::initialize): Don't allow initialization more than once.
Call command_editor::add_event_hook to install
internal_input_event_hook_fcn.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 09 Sep 2020 23:57:20 -0400 |
parents | c20b7290c778 |
children | 91f0ee715701 a00eca5d6cbe |
line wrap: on
line diff