like keywait, but disables loop with spacebar