Up/Down keys for history completion