This code change the characters input wait for code bytes