KeyType method now takes a rune instead of int