get_accepted_kbinput()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1629
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
matches inside a line (e.g. replace the "b" in "abc" with
anything). (David Benbennick)
- winio.c:
+ get_accepted_kbinput()
+ - Don't use "kbinput = wgetch(win)" as a switch value. (DLR)
do_credits()
- Use nanosleep() instead of usleep(). The latter is only
standard under BSD, whereas the former is POSIX compliant.
switch (kbinput) {
case NANO_CONTROL_3: /* Escape */
- switch (kbinput = wgetch(win)) {
+ kbinput = wgetch(win);
+ switch (kbinput) {
case NANO_CONTROL_3: /* Escape */
kbinput = wgetch(win);
/* Esc Esc [three-digit decimal ASCII code from