Can't finish a line

When I try to draw a line or any shape it will not let me enter the endpoint.  When I click the mouse nothing happens