@ -53,9 +53,17 @@ bool ncreader_offer_input(ncreader* n, const ncinput* ni){
ncplane_cursor_move_yx(n->ncp, y, x);
return true;
}
// FIXME handle arrows
if(nckey_supppuab_p(ni->id)){
return false;
if(ni->ctrl){
if(ni->id == 'U'){
ncplane_erase(n->ncp);
// FIXME need to collect full EGCs
char wbuf[WCHAR_MAX_UTF8BYTES + 1];
// FIXME breaks for wint_t < 32bits