ecode: Added an option to configure the default shell used by ecode terminal.

Closes SpartanJ/ecode#70.
This commit is contained in:
Martín Lucas Golini
2023-03-05 18:09:58 -03:00
parent d2caa0d890
commit 7d7a97e60d
20 changed files with 120 additions and 24 deletions

View File

@@ -238,6 +238,10 @@ class App : public UICodeEditorSplitter::Client {
t.setCommand( "fallback-font", [&] { openFontDialog( mConfig.ui.fallbackFont, false ); } );
t.setCommand( "tree-view-configure-ignore-files", [&] { treeViewConfigureIgnoreFiles(); } );
t.setCommand( "check-languages-health", [&] { checkLanguagesHealth(); } );
t.setCommand( "configure-terminal-shell", [&] {
if ( mTerminalManager )
mTerminalManager->configureTerminalShell();
} );
mSplitter->registerSplitterCommands( t );
}