Select line tool from tool area.
Press and hold down left mouse button to draw straight line. Release mouse button to end drawing.