Make deleteLine delete the whole line with \n.