Second argument to input_char() is wint_t, not wchar_t.
Provide compat functions for wcsl{cpy,cat}().