Added support for keypress input character setting that is used instead
of the provided ansi code if it's found