MemoryManager now handles realloc.

TerminalDisplay: Cursor fixes.
TerminalEmulator: Memory leaks fixes.
This commit is contained in:
Martín Lucas Golini
2022-08-26 02:49:04 -03:00
parent eec04b3a0b
commit fb6641a81a
7 changed files with 159 additions and 41 deletions
+1
View File
@@ -217,6 +217,7 @@ EE_MAIN_FUNC int main( int argc, char* argv[] ) {
file.isRegularFile() && file.isExecutable() ? file.getFilepath() : shell.Get(), {},
file.getDirectoryPath(), historySize.Get(), nullptr, fb.Get(),
!( file.isRegularFile() && file.isExecutable() ) );
terminal->getTerminal()->setAllowMemoryTrimnming( true );
terminal->pushEventCallback( [&]( const TerminalDisplay::Event& event ) {
if ( event.type == TerminalDisplay::EventType::TITLE ) {
windowStringData = event.eventData;