selected++;
break;
case NANO_PREVPAGE_KEY:
+ case NANO_PREVPAGE_FKEY:
case KEY_PPAGE:
if ((selected / width) % editwinrows == 0) {
if (selected - (editwinrows * width) >= 0)
selected = 0;
break;
case NANO_NEXTPAGE_KEY:
+ case NANO_NEXTPAGE_FKEY:
case KEY_NPAGE:
if ((selected / width) % editwinrows == 0) {
if (selected + (editwinrows * width) <= numents - 1)
case 'Q':
case 'e': /* Pico compatibility, yeech */
case 'E':
+ case NANO_EXIT_FKEY:
abort = 1;
break;
}