Used by input to get a character.
input
external ffi.Pointer<ffi.NativeFunction<ffi.Int Function()>> getchr;