use chars instead of ints for key bindings