Ableton Midi Note Editor Help

When i am recording midi, the midi note editor just allows me to record 1 bar and keeps looping how do i make it that when i record midi it just plays along as i play and is not limited to 1 bar?