I had to do it quite a few time when implementing this one ;)
I often type "C-c" or "enter" before typing reset to ensure I have nothing before it in the buffer.
A bit like I often do "Enter Enter ~ .` instead of just `~.` to kill a dying SSH session (I don't know why I hit enter twice here... a single time is enough.) to ensure the ~ is at the beginning of the buffer (if it's not, it won't work).
I often type "C-c" or "enter" before typing reset to ensure I have nothing before it in the buffer.
A bit like I often do "Enter Enter ~ .` instead of just `~.` to kill a dying SSH session (I don't know why I hit enter twice here... a single time is enough.) to ensure the ~ is at the beginning of the buffer (if it's not, it won't work).