Press 'M' to change pattern