mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-29 17:46:29 +03:00
ecode: Added Terminal menu.
This commit is contained in:
@@ -298,8 +298,10 @@ UITerminal* TerminalManager::createNewTerminal( const std::string& title, UITabW
|
||||
mApp->getSplitter()->splitterFromWidget( mApp->getSplitter()->getCurWidget() ) )
|
||||
splitter->swap();
|
||||
} );
|
||||
term->setCommand( UITerminal::getExclusiveModeToggleCommandName(),
|
||||
[term] { term->setExclusiveMode( !term->getExclusiveMode() ); } );
|
||||
term->setCommand( UITerminal::getExclusiveModeToggleCommandName(), [term, this] {
|
||||
term->setExclusiveMode( !term->getExclusiveMode() );
|
||||
mApp->updateTerminalMenu();
|
||||
} );
|
||||
term->setCommand( "create-new-terminal", [&] { createNewTerminal(); } );
|
||||
term->setCommand( "terminal-rename", [&, term] {
|
||||
UIMessageBox* msgBox = UIMessageBox::New(
|
||||
|
||||
Reference in New Issue
Block a user