--type option for simulating typed input