@cdfrey
Latest commit 436f527 Jun 29, 2021 History
Due to the erasechar() API, which returns char, and wgetch(), which
returns int, and KEY_BACKSPACE, which is int, it is incorrect
to completely rely on erasechar() for backspace support.
If some systems truly return KEY_BACKSPACE, then checking against
erasechar() alone will never catch the true return value.

This is primarily a compatibility fix for people like me who test
the demos with other curses libraries.  It worked fine in PDCurses,
but not ncurses.
2 contributors

Users who have contributed to this file

@wmcbrine @cdfrey