Yes, it will "flush" the input buffer.