Mercurial > hg > octave-nkf
diff liboctave/util/cmd-edit.h @ 19285:2401977f4dcf
command_editor: provide access to rl_prefer_env_winsize
* cmd-edit.h, cmd-edit.cc (command_editor::prefer_env_winsize,
command_editor::do_prefer_env_winsize,
gnu_readline::do_prefer_env_winsize): New functions.
* oct-rl-edit.h, oct-rl-edit.c (octave_rl_prefer_env_winsize): New function.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 17 Sep 2014 16:36:41 -0400 |
parents | d7f642d68817 |
children | 912158cf524d |
line wrap: on
line diff
--- a/liboctave/util/cmd-edit.h +++ b/liboctave/util/cmd-edit.h @@ -163,6 +163,8 @@ static bool filename_quoting_desired (bool); + static bool prefer_env_winsize (bool); + static bool interrupt (bool = true); static int current_command_number (void); @@ -333,6 +335,8 @@ virtual bool do_filename_quoting_desired (bool) { return false; } + virtual bool do_prefer_env_winsize (bool) { return false; } + virtual void do_interrupt (bool) { } int do_insert_initial_input (void);