mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-10-01 18:50:16 +03:00
Lambda captures clean up, plus other minor clean ups.
This commit is contained in:
@@ -272,7 +272,7 @@ EE_MAIN_FUNC int main( int argc, char* argv[] ) {
|
||||
file.getDirectoryPath(), historySize.Get(), nullptr, fb.Get(),
|
||||
!( file.isRegularFile() && file.isExecutable() ) );
|
||||
terminal->getTerminal()->setAllowMemoryTrimnming( true );
|
||||
terminal->pushEventCallback( [&]( const TerminalDisplay::Event& event ) {
|
||||
terminal->pushEventCallback( [&closeOnExit]( const TerminalDisplay::Event& event ) {
|
||||
if ( event.type == TerminalDisplay::EventType::TITLE ) {
|
||||
windowStringData = event.eventData;
|
||||
win->setTitle( "eterm - " + windowStringData );
|
||||
|
||||
Reference in New Issue
Block a user