do_replace_loop()
- Fix potential infinite loop when doing a forward regex replace
of "$". (DLR; found by Mike Frysinger)
+- winio.c:
+ get_accepted_kbinput()
+ - Translate Ctrl-8 into NANO_DELETE_KEY, since it apparently is
+ generated at the statusbar prompt sometimes on Linux. (DLR)
GNU nano 1.3.0 - 2003.10.22
- General:
*meta = 1;
}
break;
+ case NANO_CONTROL_8:
+ /* Terminal breakage, part 2: We shouldn't get Ctrl-8
+ * (Ctrl-?) for Backspace, but we do sometimes on Linux. */
+ kbinput = NANO_BACKSPACE_KEY;
+ break;
case KEY_DOWN:
kbinput = NANO_DOWN_KEY;
break;
kbinput = NANO_BACKSPACE_KEY;
break;
case KEY_DC:
- /* Terminal breakage, part 2: We should only get KEY_DC when
+ /* Terminal breakage, part 3: We should only get KEY_DC when
* hitting Delete, but we get it when hitting Backspace
* sometimes on FreeBSD. Thank you, Lee Nelson. */
kbinput = (rebind_delete) ? NANO_BACKSPACE_KEY : NANO_DELETE_KEY;