the problem with Backspace/Delete confusion on some terminals,
notably FreeBSD; if your Backspace key acts like Delete, this
option will fix that. (DLR)
+ - Remove unneeded breaks at the ends of default: clauses. (DLR)
- files.c:
do_browser():
- Some of the Pico compatibility options in the file browser
break;
}
}
- break;
}
} else {
/* Ok -- the last char was a TAB. Since they
fprintf(stderr, "I got Alt-%c! (%d)\n", kbinput,
kbinput);
#endif
- break;
}
}
break;
default:
kbinput = get_escape_seq_kbinput(win, kbinput);
- break;
}
nodelay(win, FALSE);
break;
if (isupper(kbinput))
kbinput = tolower(kbinput);
*meta = 1;
- break;
}
break;
case KEY_DOWN:
case KEY_SUSPEND:
kbinput = NANO_SUSPEND_KEY;
break;
- default:
- break;
}
#ifdef DEBUG
fprintf(stderr, "get_accepted_kbinput(): kbinput = %d, meta = %d\n", kbinput, *meta);
/* Esc [ 3 ~ == kdch1 on many terminals. */
kbinput = get_skip_tilde_kbinput(win, kbinput, NANO_DELETE_KEY);
break;
- default:
- break;
}
return kbinput;
}