Mercurial > octave
view examples/module.mk @ 31068:0b402f523f09
allow executing a command in the new terminal widget
* command-widget.cc (console::new_command_line): Allow a new command
line with preset text;
(console::execute_command): Slot for executing a command
* command-widget.h, class console: new_command_line with optional
string argument, new functions execute_command and get_console
* main-window.cc (adopt_terminal_widget): connect execute command
signal with related signal in terminal widget;
(execute_command_in_terminal): in case of exp. terminal widget,
emit new signal execute_command_signal
* main-window.h: new signal execute_command_signal
* terminal-dock-widget.cc (terminal_dock_widget): connect own
execute signal to the slot in the console
* terminal-dock-widget.h: new signal execute_command_signal
author | Torsten Lilge <ttl-octave@mailbox.org> |
---|---|
date | Sat, 04 Jun 2022 22:17:58 +0200 |
parents | c2c528319260 |
children |
line wrap: on
line source
%canon_reldir%_EXTRA_DIST = include %reldir%/code/module.mk include %reldir%/data/module.mk %canon_reldir%_EXTRA_DIST += \ %reldir%/code/COPYING EXTRA_DIST += $(%canon_reldir%_EXTRA_DIST)