menu: escape rolls up menu #819

This commit is contained in:
nick black 2020-07-23 21:52:49 -04:00
parent 71db3dbe61
commit 8ae8fd2cb0
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -553,6 +553,11 @@ bool ncmenu_offer_input(ncmenu* n, const ncinput* nc){
return false;
}
return true;
}else if(nc->id == 0x1b){
if(n->unrolledsection){
ncmenu_rollup(n);
return true;
}
}
return false;
}