Click the flag to start, then just click anywhere you want, and let go. This will start to draw a line follow your mouse pointer. When you have the line you want just click again, and then you have a line. Press space to restart.
If you have any ways to remove the other lines while making your line tell me.