mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-06 03:20:26 +00:00
menu: escape rolls up menu #819
This commit is contained in:
parent
71db3dbe61
commit
8ae8fd2cb0
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user