eterm: Improved history buffer allocation.

This commit is contained in:
Martín Lucas Golini
2022-06-26 04:10:39 -03:00
parent 716eaea2c0
commit 983f0491e2
5 changed files with 48 additions and 9 deletions

View File

@@ -96,7 +96,7 @@ EE_MAIN_FUNC int main( int, char*[] ) {
if ( !terminal || terminal->hasTerminated() ) {
terminal = TerminalDisplay::create( win, fontMono, PixelDensity::dpToPx( 11 ),
win->getSize().asFloat(), "", {}, "", 10000 );
win->getSize().asFloat() );
}
win->getInput()->pushCallback( &inputCallback );